Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Member Functions |
|
void | onLocalInvitationReceivedByPeer (LocalInvitation localInvitation) |
void | onLocalInvitationAccepted (LocalInvitation localInvitation, String response) |
void | onLocalInvitationRefused (LocalInvitation localInvitation, String response) |
void | onLocalInvitationCanceled (LocalInvitation localInvitation) |
void | onLocalInvitationFailure (LocalInvitation localInvitation, int errorCode) |
void | onRemoteInvitationReceived (RemoteInvitation remoteInvitation) |
void | onRemoteInvitationAccepted (RemoteInvitation remoteInvitation) |
void | onRemoteInvitationRefused (RemoteInvitation remoteInvitation) |
void | onRemoteInvitationCanceled (RemoteInvitation remoteInvitation) |
void | onRemoteInvitationFailure (RemoteInvitation remoteInvitation, int errorCode) |
void io.agora.rtm.RtmCallEventListener.onLocalInvitationReceivedByPeer | ( | LocalInvitation | localInvitation | ) |
Callback to the caller: occurs when the callee receives the call invitation.
This callback notifies the caller that the callee receives the call invitation.
localInvitation |
A
LocalInvitation
object.
|
void io.agora.rtm.RtmCallEventListener.onLocalInvitationAccepted | ( | LocalInvitation | localInvitation, |
String | response | ||
) |
Callback to the caller: occurs when the callee accepts the call invitation.
This callback notifies the caller that the callee accepts the call invitation.
localInvitation |
A
LocalInvitation
object.
|
response | The response from the callee. |
void io.agora.rtm.RtmCallEventListener.onLocalInvitationRefused | ( | LocalInvitation | localInvitation, |
String | response | ||
) |
Callback to the caller: occurs when the callee refuses the call invitation.
This callback notifies the caller that the callee refuses the call invitation.
localInvitation |
A
LocalInvitation
object.
|
response | The response from the callee. |
void io.agora.rtm.RtmCallEventListener.onLocalInvitationCanceled | ( | LocalInvitation | localInvitation | ) |
Callback to the caller: occurs when the caller cancels a call invitation.
This callback notifies the caller that he/she has canceled a call invitation.
localInvitation |
A
LocalInvitation
object.
|
void io.agora.rtm.RtmCallEventListener.onLocalInvitationFailure | ( | LocalInvitation | localInvitation, |
int | errorCode | ||
) |
Callback to the caller: occurs when the outgoing call invitation ends in failure.
This callback notifies the caller that the life cycle of the outgoing call invitation ends in failure.
localInvitation |
A
LocalInvitation
object.
|
errorCode |
The error code. See
LocalInvitationError .
|
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationReceived | ( | RemoteInvitation | remoteInvitation | ) |
Callback to the callee: occurs when the callee receives a call invitation.
This callback notifies the callee that the callee receives a call invitation.
remoteInvitation |
A
RemoteInvitation
object.
|
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationAccepted | ( | RemoteInvitation | remoteInvitation | ) |
Callback to the callee: occurs when the callee accepts a call invitation.
remoteInvitation |
An
RemoteInvitation
object.
|
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationRefused | ( | RemoteInvitation | remoteInvitation | ) |
Callback for the callee: occurs when the callee refuses a call invitation.
remoteInvitation |
An
RemoteInvitation
object.
|
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationCanceled | ( | RemoteInvitation | remoteInvitation | ) |
Callback to the callee: occurs when the caller cancels the call invitation.
This callback notifies the callee that the caller cancels the call invitation.
remoteInvitation |
A
RemoteInvitation
object.
|
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationFailure | ( | RemoteInvitation | remoteInvitation, |
int | errorCode | ||
) |
Callback to the callee: occurs when the life cycle of the incoming call invitation ends in failure.
This callback notifies the callee that the life cycle of the call invitation ends in failure.
remoteInvitation |
A
RemoteInvitation
object.
|
errorCode |
The error code. See
RemoteInvitationError .
|