Package | Description |
---|---|
oracle.wsc.android.call |
Provides a Call handling API.
|
oracle.wsc.android.constants |
Common constants.
|
oracle.wsc.android.messaging |
Provides a SIP based Messaging API.
|
oracle.wsc.android.session |
Session API.
|
Modifier and Type | Method and Description |
---|---|
StatusCode |
Cause.getStatusCode()
Gets the status code if available.
|
Constructor and Description |
---|
Cause(StatusCode statusCode)
Constructor.
|
Cause(StatusCode statusCode,
Map extHeaders)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static StatusCode |
StatusCode.BAD_REQUEST
The request could not be understood due to malformed syntax.
|
static StatusCode |
StatusCode.BUSY_EVERYWHERE
The callee's end system was contacted successfully but the callee is busy and does not wish to take the call at
this time.
|
static StatusCode |
StatusCode.BUSY_HERE
The callee's end system was contacted successfully, but the callee is currently not willing or able to take
additional calls at this end system.
|
static StatusCode |
StatusCode.DECLINED
The callee's machine was successfully contacted but the user explicitly does not wish to or cannot participate.
|
static StatusCode |
StatusCode.FORBIDDEN
The server understood the request, but is refusing to fulfil it.
|
static StatusCode |
StatusCode.OK
Indicates the request was successful.
|
static StatusCode |
StatusCode.PROXYAUTH_REQUIRED
This code is similar to 401 (UNAUTHORIZED), but indicates that the client MUST first authenticate itself with the
proxy.
|
static StatusCode |
StatusCode.REQUEST_PENDING
Server has some pending request from the same dialog.
|
static StatusCode |
StatusCode.REQUEST_TERMINATED
Request has been terminated by bye or cancel.
|
static StatusCode |
StatusCode.REQUEST_TIMEOUT
Couldn't find the user in time.
|
static StatusCode |
StatusCode.RESOURCE_UNAVAILABLE
The server has definitive information that the user does not exist at the domain specified in the Request-URI.
|
static StatusCode |
StatusCode.RINGING
Destination user agent received INVITE, and is alerting user of call.
|
static StatusCode |
StatusCode.SERVER_ERROR
The server could not fulfill the request due to some unexpected condition.
|
static StatusCode |
StatusCode.SESSION_PROGRESS
This response may be used to send extra information for a call which is still being set up.
|
static StatusCode |
StatusCode.TEMPORARILY_UNAVAILABLE
Callee currently unavailable.
|
static StatusCode |
StatusCode.UNAUTHORIZED
The request requires user authentication.
|
static StatusCode |
StatusCode.UNKNOWN
Unknown status.
|
static StatusCode |
StatusCode.WEBSOCKET_ERROR
The error code for WebSocket.
|
Modifier and Type | Method and Description |
---|---|
static StatusCode |
StatusCode.getByCode(int code)
Get StatusCode by value.
|
static StatusCode |
StatusCode.getStatusCode(Frame frame)
Extract the frame status code to
StatusCode enum. |
static StatusCode |
StatusCode.valueOf(String name) |
static StatusCode[] |
StatusCode.values() |
Modifier and Type | Method and Description |
---|---|
abstract void |
MessagingPackage.Observer.onErrorResponse(MessagingMessage messagingMessage,
StatusCode code,
String reason,
Map extHeaders)
An event handler which is called when a reject/negative acknowledgment is received for a sent message.
|
void |
MessagingPackage.reject(MessagingMessage messagingMessage,
StatusCode statusCode,
String reason,
Map extHeaders)
Rejects the incoming message and sends a NACK.
|
Modifier and Type | Method and Description |
---|---|
void |
WSCSession.ConnectionCallback.onFailure(StatusCode statusCode)
Connection error.
|
void |
HibernationHandler.onFailure(StatusCode code)
On failure response for Hibernate requests originated from Client.
|
void |
HibernationHandler.onRequestCompleted(StatusCode code)
On completion of request for Hibernate originated from the Server.
|