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