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().
Requires API level 9 (Android 2.3, Gingerbread)

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)

Requires API level 9 (Android 2.3, Gingerbread)

Constants

CLIENT_ERROR

added in API level 9
static val CLIENT_ERROR: Int

When some error occurs on the device, possibly due to a bug.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -4

CROSS_DOMAIN_AUTHENTICATION

added in API level 9
static val CROSS_DOMAIN_AUTHENTICATION: Int

Cross-domain authentication required.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -11

DATA_CONNECTION_LOST

added in API level 9
static val DATA_CONNECTION_LOST: Int

When data connection is lost.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -10

INVALID_CREDENTIALS

added in API level 9
static val INVALID_CREDENTIALS: Int

When invalid credentials are provided.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -8

INVALID_REMOTE_URI

added in API level 9
static val INVALID_REMOTE_URI: Int

When the remote URI is not valid.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -6

IN_PROGRESS

added in API level 9
static val IN_PROGRESS: Int

The client is in a transaction and cannot initiate a new one.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -9

NO_ERROR

added in API level 9
static val NO_ERROR: Int

Not an error.
Requires API level 9 (Android 2.3, Gingerbread)

Value: 0

PEER_NOT_REACHABLE

added in API level 9
static val PEER_NOT_REACHABLE: Int

When the peer is not reachable.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -7

SERVER_ERROR

added in API level 9
static val SERVER_ERROR: Int

When server responds with an error.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -2

SERVER_UNREACHABLE

added in API level 9
static val SERVER_UNREACHABLE: Int

When the server is not reachable.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -12

SOCKET_ERROR

added in API level 9
static val SOCKET_ERROR: Int

When some socket error occurs.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -1

TIME_OUT

added in API level 9
static val TIME_OUT: Int

When the transaction gets timed out.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -5

TRANSACTION_TERMINTED

added in API level 9
static val TRANSACTION_TERMINTED: Int

When transaction is terminated unexpectedly.
Requires API level 9 (Android 2.3, Gingerbread)

Value: -3

Public methods

toString

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

Requires API level 9 (Android 2.3, Gingerbread)