SipErrorCode
open classSipErrorCode
| 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! | |
Constants
CLIENT_ERROR
static valCLIENT_ERROR: Int
Deprecated: Deprecated in Java.
When some error occurs on the device, possibly due to a bug.
Value: -4CROSS_DOMAIN_AUTHENTICATION
static valCROSS_DOMAIN_AUTHENTICATION: Int
Deprecated: Deprecated in Java.
Cross-domain authentication required.
Value: -11DATA_CONNECTION_LOST
static valDATA_CONNECTION_LOST: Int
Deprecated: Deprecated in Java.
When data connection is lost.
Value: -10INVALID_CREDENTIALS
static valINVALID_CREDENTIALS: Int
Deprecated: Deprecated in Java.
When invalid credentials are provided.
Value: -8INVALID_REMOTE_URI
static valINVALID_REMOTE_URI: Int
Deprecated: Deprecated in Java.
When the remote URI is not valid.
Value: -6IN_PROGRESS
static valIN_PROGRESS: Int
Deprecated: Deprecated in Java.
The client is in a transaction and cannot initiate a new one.
Value: -9NO_ERROR
static valNO_ERROR: Int
Deprecated: Deprecated in Java.
Not an error.
Value: 0PEER_NOT_REACHABLE
static valPEER_NOT_REACHABLE: Int
Deprecated: Deprecated in Java.
When the peer is not reachable.
Value: -7SERVER_ERROR
static valSERVER_ERROR: Int
Deprecated: Deprecated in Java.
When server responds with an error.
Value: -2SERVER_UNREACHABLE
static valSERVER_UNREACHABLE: Int
Deprecated: Deprecated in Java.
When the server is not reachable.
Value: -12SOCKET_ERROR
static valSOCKET_ERROR: Int
Deprecated: Deprecated in Java.
When some socket error occurs.
Value: -1TIME_OUT
static valTIME_OUT: Int
Deprecated: Deprecated in Java.
When the transaction gets timed out.
Value: -5TRANSACTION_TERMINTED
static valTRANSACTION_TERMINTED: Int
Deprecated: Deprecated in Java.
When transaction is terminated unexpectedly.
Value: -3Public methods
toString
open static funtoString(errorCode: Int): String!
Deprecated: Deprecated in Java.