Package | Description |
---|---|
oracle.wsc.android.call |
Provides a Call handling API.
|
oracle.wsc.android.constants |
Common constants.
|
oracle.wsc.android.data |
JSON-WebRTC data types.
|
oracle.wsc.android.messaging |
Provides a SIP based Messaging API.
|
oracle.wsc.android.session |
Session API.
|
Modifier and Type | Method and Description |
---|---|
static Cause |
Cause.create(Frame frame)
Creates an instance from a frame.
|
protected void |
CallPackage.onMessage(Frame frame) |
protected void |
Call.onMessage(Frame frame)
Receives message.
|
Modifier and Type | Method and Description |
---|---|
static StatusCode |
StatusCode.getStatusCode(Frame frame)
Extract the frame status code to
StatusCode enum. |
Modifier and Type | Method and Description |
---|---|
static Frame |
FrameFactory.createAck(Frame frame)
Creates a JSON frame of type
Control.Type.ACKNOWLEDGEMENT . |
static Frame |
FrameFactory.createError(Frame origFrame,
int code,
String reason)
Creates a JSON frame of type
Control.Type.ERROR from the original Frame. |
static Frame |
FrameFactory.createFrame(Control.Type type,
String verb,
String pack,
String sessionId,
String subSessionId,
String correlationId)
Creates a JSON frame with arguments and correlation id.
|
static Frame |
FrameFactory.createFrame(Frame origFrame,
Control.Type type)
Creates a JSON frame based on the original frame.
|
Modifier and Type | Method and Description |
---|---|
static Frame |
FrameFactory.createAck(Frame frame)
Creates a JSON frame of type
Control.Type.ACKNOWLEDGEMENT . |
static Frame |
FrameFactory.createError(Frame origFrame,
int code,
String reason)
Creates a JSON frame of type
Control.Type.ERROR from the original Frame. |
static Frame |
FrameFactory.createFrame(Frame origFrame,
Control.Type type)
Creates a JSON frame based on the original frame.
|
static Action |
Action.getAction(Frame frame)
Gets
Action from frame. |
Modifier and Type | Method and Description |
---|---|
protected void |
MessagingPackage.onMessage(Frame frame) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SubSession.onMessage(Frame frame)
Handles an inbound message on an existing subsession.
|
protected abstract void |
Package.onMessage(Frame frame)
Handles an inbound message that has no existing subsession.
|
void |
WSCSession.sendMessage(Frame message)
Sends the message to WebRTC Session Controller server over a WebSocket.
|
protected void |
SubSession.sendMessage(Frame frame)
Sends the message frame.
|