Skip to content

Most visited

Recently visited

navigation
Added in API level 9

SipErrorCode

public class SipErrorCode
extends Object

java.lang.Object
   ↳ android.net.sip.SipErrorCode


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

Summary

Constants

int CLIENT_ERROR

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

int CROSS_DOMAIN_AUTHENTICATION

Cross-domain authentication required.

int DATA_CONNECTION_LOST

When data connection is lost.

int INVALID_CREDENTIALS

When invalid credentials are provided.

int INVALID_REMOTE_URI

When the remote URI is not valid.

int IN_PROGRESS

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

int NO_ERROR

Not an error.

int PEER_NOT_REACHABLE

When the peer is not reachable.

int SERVER_ERROR

When server responds with an error.

int SERVER_UNREACHABLE

When the server is not reachable.

int SOCKET_ERROR

When some socket error occurs.

int TIME_OUT

When the transaction gets timed out.

int TRANSACTION_TERMINTED

When transaction is terminated unexpectedly.

Public methods

static String toString(int errorCode)

Inherited methods

From class java.lang.Object

Constants

CLIENT_ERROR

Added in API level 9
int CLIENT_ERROR

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

Constant Value: -4 (0xfffffffc)

CROSS_DOMAIN_AUTHENTICATION

Added in API level 9
int CROSS_DOMAIN_AUTHENTICATION

Cross-domain authentication required.

Constant Value: -11 (0xfffffff5)

DATA_CONNECTION_LOST

Added in API level 9
int DATA_CONNECTION_LOST

When data connection is lost.

Constant Value: -10 (0xfffffff6)

INVALID_CREDENTIALS

Added in API level 9
int INVALID_CREDENTIALS

When invalid credentials are provided.

Constant Value: -8 (0xfffffff8)

INVALID_REMOTE_URI

Added in API level 9
int INVALID_REMOTE_URI

When the remote URI is not valid.

Constant Value: -6 (0xfffffffa)

IN_PROGRESS

Added in API level 9
int IN_PROGRESS

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

Constant Value: -9 (0xfffffff7)

NO_ERROR

Added in API level 9
int NO_ERROR

Not an error.

Constant Value: 0 (0x00000000)

PEER_NOT_REACHABLE

Added in API level 9
int PEER_NOT_REACHABLE

When the peer is not reachable.

Constant Value: -7 (0xfffffff9)

SERVER_ERROR

Added in API level 9
int SERVER_ERROR

When server responds with an error.

Constant Value: -2 (0xfffffffe)

SERVER_UNREACHABLE

Added in API level 9
int SERVER_UNREACHABLE

When the server is not reachable.

Constant Value: -12 (0xfffffff4)

SOCKET_ERROR

Added in API level 9
int SOCKET_ERROR

When some socket error occurs.

Constant Value: -1 (0xffffffff)

TIME_OUT

Added in API level 9
int TIME_OUT

When the transaction gets timed out.

Constant Value: -5 (0xfffffffb)

TRANSACTION_TERMINTED

Added in API level 9
int TRANSACTION_TERMINTED

When transaction is terminated unexpectedly.

Constant Value: -3 (0xfffffffd)

Public methods

toString

Added in API level 9
String toString (int errorCode)

Parameters
errorCode int
Returns
String
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.