Added in API level 9
Deprecated in API level 31

SipErrorCode


open class SipErrorCode
kotlin.Any
   ↳ android.net.sip.SipErrorCode

Defines error codes returned during SIP actions. For example, during onRegistrationFailed(), onError(), onCallChangeFailed() and onRegistrationFailed().

Summary

Constants
static Int

When some error occurs on the device, possibly due to a bug.

static Int

Cross-domain authentication required.

static Int

When data connection is lost.

static Int

When invalid credentials are provided.

static Int

When the remote URI is not valid.

static Int

The client is in a transaction and cannot initiate a new one.

static Int

Not an error.

static Int

When the peer is not reachable.

static Int

When server responds with an error.

static Int

When the server is not reachable.

static Int

When some socket error occurs.

static Int

When the transaction gets timed out.

static Int

When transaction is terminated unexpectedly.

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

Constants

CLIENT_ERROR

Added in API level 9
static val CLIENT_ERROR: Int

Deprecated: Deprecated in Java.

When some error occurs on the device, possibly due to a bug.

Value: -4

CROSS_DOMAIN_AUTHENTICATION

Added in API level 9
static val CROSS_DOMAIN_AUTHENTICATION: Int

Deprecated: Deprecated in Java.

Cross-domain authentication required.

Value: -11

DATA_CONNECTION_LOST

Added in API level 9
static val DATA_CONNECTION_LOST: Int

Deprecated: Deprecated in Java.

When data connection is lost.

Value: -10

INVALID_CREDENTIALS

Added in API level 9
static val INVALID_CREDENTIALS: Int

Deprecated: Deprecated in Java.

When invalid credentials are provided.

Value: -8

INVALID_REMOTE_URI

Added in API level 9
static val INVALID_REMOTE_URI: Int

Deprecated: Deprecated in Java.

When the remote URI is not valid.

Value: -6

IN_PROGRESS

Added in API level 9
static val IN_PROGRESS: Int

Deprecated: Deprecated in Java.

The client is in a transaction and cannot initiate a new one.

Value: -9

NO_ERROR

Added in API level 9
static val NO_ERROR: Int

Deprecated: Deprecated in Java.

Not an error.

Value: 0

PEER_NOT_REACHABLE

Added in API level 9
static val PEER_NOT_REACHABLE: Int

Deprecated: Deprecated in Java.

When the peer is not reachable.

Value: -7

SERVER_ERROR

Added in API level 9
static val SERVER_ERROR: Int

Deprecated: Deprecated in Java.

When server responds with an error.

Value: -2

SERVER_UNREACHABLE

Added in API level 9
static val SERVER_UNREACHABLE: Int

Deprecated: Deprecated in Java.

When the server is not reachable.

Value: -12

SOCKET_ERROR

Added in API level 9
static val SOCKET_ERROR: Int

Deprecated: Deprecated in Java.

When some socket error occurs.

Value: -1

TIME_OUT

Added in API level 9
static val TIME_OUT: Int

Deprecated: Deprecated in Java.

When the transaction gets timed out.

Value: -5

TRANSACTION_TERMINTED

Added in API level 9
static val TRANSACTION_TERMINTED: Int

Deprecated: Deprecated in Java.

When transaction is terminated unexpectedly.

Value: -3

Public methods

toString

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

Deprecated: Deprecated in Java.