SipErrorCode
open class SipErrorCode
| kotlin.Any | |
| ↳ | android.net.sip.SipErrorCode |
Defines error codes returned during SIP actions. For example, during SipRegistrationListener#onRegistrationFailed, SipSession.Listener#onError, SipSession.Listener#onCallChangeFailed and SipSession.Listener#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 val CLIENT_ERROR: Int
When some error occurs on the device, possibly due to a bug.
Value: -4
CROSS_DOMAIN_AUTHENTICATION
static val CROSS_DOMAIN_AUTHENTICATION: Int
Cross-domain authentication required.
Value: -11
DATA_CONNECTION_LOST
static val DATA_CONNECTION_LOST: Int
When data connection is lost.
Value: -10
INVALID_CREDENTIALS
static val INVALID_CREDENTIALS: Int
When invalid credentials are provided.
Value: -8
INVALID_REMOTE_URI
static val INVALID_REMOTE_URI: Int
When the remote URI is not valid.
Value: -6
IN_PROGRESS
static val IN_PROGRESS: Int
The client is in a transaction and cannot initiate a new one.
Value: -9
PEER_NOT_REACHABLE
static val PEER_NOT_REACHABLE: Int
When the peer is not reachable.
Value: -7
SERVER_ERROR
static val SERVER_ERROR: Int
When server responds with an error.
Value: -2
SERVER_UNREACHABLE
static val SERVER_UNREACHABLE: Int
When the server is not reachable.
Value: -12
SOCKET_ERROR
static val SOCKET_ERROR: Int
When some socket error occurs.
Value: -1
TIME_OUT
static val TIME_OUT: Int
When the transaction gets timed out.
Value: -5
TRANSACTION_TERMINTED
static val TRANSACTION_TERMINTED: Int
When transaction is terminated unexpectedly.
Value: -3