Added in API level 9
Deprecated in API level 31

State


class State
kotlin.Any
   ↳ android.net.sip.SipSession.State

Defines SIP session states, such as "registering", "outgoing call", and "in call".

Summary

Constants
static Int

When the unregistration request is sent out.

static Int

When an INVITE request is received.

static Int

When an OK response is sent for the INVITE request received.

static Int

When a call is established.

static Int

Not defined.

static Int

When an INVITE request is sent.

static Int

When a CANCEL request is sent for the INVITE request sent.

static Int

When a RINGING response is received for the INVITE request sent.

static Int

When an OPTIONS request is sent.

static Int

When session is ready to initiate a call or transaction.

static Int

When the registration request is sent out.

Public methods
open static String!
toString(state: Int)

Converts the state to string.

Constants

DEREGISTERING

Added in API level 9
static val DEREGISTERING: Int

Deprecated: Deprecated in Java.

When the unregistration request is sent out.

Value: 2

INCOMING_CALL

Added in API level 9
static val INCOMING_CALL: Int

Deprecated: Deprecated in Java.

When an INVITE request is received.

Value: 3

INCOMING_CALL_ANSWERING

Added in API level 9
static val INCOMING_CALL_ANSWERING: Int

Deprecated: Deprecated in Java.

When an OK response is sent for the INVITE request received.

Value: 4

IN_CALL

Added in API level 9
static val IN_CALL: Int

Deprecated: Deprecated in Java.

When a call is established.

Value: 8

NOT_DEFINED

Added in API level 9
static val NOT_DEFINED: Int

Deprecated: Deprecated in Java.

Not defined.

Value: 101

OUTGOING_CALL

Added in API level 9
static val OUTGOING_CALL: Int

Deprecated: Deprecated in Java.

When an INVITE request is sent.

Value: 5

OUTGOING_CALL_CANCELING

Added in API level 9
static val OUTGOING_CALL_CANCELING: Int

Deprecated: Deprecated in Java.

When a CANCEL request is sent for the INVITE request sent.

Value: 7

OUTGOING_CALL_RING_BACK

Added in API level 9
static val OUTGOING_CALL_RING_BACK: Int

Deprecated: Deprecated in Java.

When a RINGING response is received for the INVITE request sent.

Value: 6

PINGING

Added in API level 9
static val PINGING: Int

Deprecated: Deprecated in Java.

When an OPTIONS request is sent.

Value: 9

READY_TO_CALL

Added in API level 9
static val READY_TO_CALL: Int

Deprecated: Deprecated in Java.

When session is ready to initiate a call or transaction.

Value: 0

REGISTERING

Added in API level 9
static val REGISTERING: Int

Deprecated: Deprecated in Java.

When the registration request is sent out.

Value: 1

Public methods

toString

Added in API level 9
open static fun toString(state: Int): String!

Deprecated: Deprecated in Java.

Converts the state to string.