Signaling (previously RTM) SDK v1.5.0 API Reference for Linux (Java)
Public Member Functions | List of all members
io.agora.rtm.RtmCallEventListener Interface Reference

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
localInvitation A 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
localInvitation A LocalInvitation object.
response The 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
localInvitation A LocalInvitation object.
response The 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
localInvitation A 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
localInvitation A LocalInvitation object.
errorCode The 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
remoteInvitation A RemoteInvitation object.

◆ onRemoteInvitationAccepted()

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

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

Parameters
remoteInvitation An RemoteInvitation object.

◆ onRemoteInvitationRefused()

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

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

Parameters
remoteInvitation An 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
remoteInvitation A 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
remoteInvitation A RemoteInvitation object.
errorCode The error code. See RemoteInvitationError.