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)
 

Member Function Documentation

◆ onLocalInvitationReceivedByPeer()

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.

Parameters
localInvitationA LocalInvitation object.

◆ onLocalInvitationAccepted()

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.

Parameters
localInvitationA LocalInvitation object.
responseThe response from the callee.

◆ onLocalInvitationRefused()

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.

Parameters
localInvitationA LocalInvitation object.
responseThe response from the callee.

◆ onLocalInvitationCanceled()

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.

Parameters
localInvitationA LocalInvitation object.

◆ onLocalInvitationFailure()

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.

Parameters
localInvitationA LocalInvitation object.
errorCodeThe error code. See LocalInvitationError.

◆ onRemoteInvitationReceived()

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.

Parameters
remoteInvitationA RemoteInvitation object.

◆ onRemoteInvitationAccepted()

void io.agora.rtm.RtmCallEventListener.onRemoteInvitationAccepted ( RemoteInvitation  remoteInvitation)

Callback to the callee: occurs when the callee accepts a call invitation.

Parameters
remoteInvitationAn RemoteInvitation object.

◆ onRemoteInvitationRefused()

void io.agora.rtm.RtmCallEventListener.onRemoteInvitationRefused ( RemoteInvitation  remoteInvitation)

Callback for the callee: occurs when the callee refuses a call invitation.

Parameters
remoteInvitationAn RemoteInvitation object.

◆ onRemoteInvitationCanceled()

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.

Parameters
remoteInvitationA RemoteInvitation object.

◆ onRemoteInvitationFailure()

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.

Parameters
remoteInvitationA RemoteInvitation object.
errorCodeThe error code. See RemoteInvitationError.