Public Member Functions

abstract void setEventListener (RtmCallEventListener eventListener)
 
abstract LocalInvitation createLocalInvitation (@NonNull String calleeId)
 
abstract void sendLocalInvitation (@NonNull LocalInvitation localInvitation, ResultCallback< Void > resultCallback)
 
abstract void acceptRemoteInvitation (@NonNull RemoteInvitation remoteInvitation, ResultCallback< Void > resultCallback)
 
abstract void refuseRemoteInvitation (@NonNull RemoteInvitation remoteInvitation, ResultCallback< Void > resultCallback)
 
abstract void cancelLocalInvitation (@NonNull LocalInvitation localInvitation, ResultCallback< Void > resultCallback)
 

Detailed Description

Agora RTM call invitation methods.

Member Function Documentation

◆ setEventListener()

abstract void io.agora.rtm.RtmCallManager.setEventListener ( RtmCallEventListener  eventListener)
abstract

Sets the event listener to the RtmCallManager instance.

Note: This overrides the previous event listener of the same RtmCallManager instance.

◆ createLocalInvitation()

abstract LocalInvitation io.agora.rtm.RtmCallManager.createLocalInvitation ( @NonNull String  calleeId)
abstract

Creates a call invitation.

Parameters
calleeIdThe callee's user ID.
Returns
null if the RtmCallManager instance is released.

◆ sendLocalInvitation()

abstract void io.agora.rtm.RtmCallManager.sendLocalInvitation ( @NonNull LocalInvitation  localInvitation,
ResultCallback< Void >  resultCallback 
)
abstract

Allows the caller to send a call invitation to the callee.

Parameters
localInvitationA LocalInvitation object.
resultCallbackA ResultCallback object.

◆ acceptRemoteInvitation()

abstract void io.agora.rtm.RtmCallManager.acceptRemoteInvitation ( @NonNull RemoteInvitation  remoteInvitation,
ResultCallback< Void >  resultCallback 
)
abstract

Allows the callee to accept a call invitation.

Parameters
remoteInvitationA RemoteInvitation object.
resultCallbackA ResultCallback object.

◆ refuseRemoteInvitation()

abstract void io.agora.rtm.RtmCallManager.refuseRemoteInvitation ( @NonNull RemoteInvitation  remoteInvitation,
ResultCallback< Void >  resultCallback 
)
abstract

Allows the callee to decline a call invitation.

Parameters
remoteInvitationA RemoteInvitation object.
resultCallbackA ResultCallback object.

◆ cancelLocalInvitation()

abstract void io.agora.rtm.RtmCallManager.cancelLocalInvitation ( @NonNull LocalInvitation  localInvitation,
ResultCallback< Void >  resultCallback 
)
abstract

Allows the caller to cancel a call invitation.

Parameters
localInvitationA LocalInvitation object.
resultCallbackA ResultCallback object.