Signaling (previously RTM) v1.4.8 API Reference for Unity
Public Member Functions | List of all members
agora_rtm.RtmCallManager Class Reference

Inherits IDisposable.

Public Member Functions

 RtmCallManager (IntPtr rtmCallManager, RtmCallEventHandler rtmCallEventHandler)
 
int SendLocalInvitation (LocalInvitation invitation)
 
int AcceptRemoteInvitation (RemoteInvitation invitation)
 
int RefuseRemoteInvitation (RemoteInvitation invitation)
 
int CancelLocalInvitation (LocalInvitation invitation)
 
LocalInvitation CreateLocalCallInvitation (string calleeId)
 
void Dispose ()
 

Constructor & Destructor Documentation

◆ RtmCallManager()

agora_rtm.RtmCallManager.RtmCallManager ( IntPtr  rtmCallManager,
RtmCallEventHandler  rtmCallEventHandler 
)
inline

Member Function Documentation

◆ AcceptRemoteInvitation()

int agora_rtm.RtmCallManager.AcceptRemoteInvitation ( RemoteInvitation  invitation)
inline

Allows the callee to accept an incoming call invitation.

Parameters
invitationAn RemoteInvitation object.
Returns

◆ CancelLocalInvitation()

int agora_rtm.RtmCallManager.CancelLocalInvitation ( LocalInvitation  invitation)
inline

Allows the caller to cancel an outgoing call invitation.

Parameters
invitationAn LocalInvitation object.
Returns

◆ CreateLocalCallInvitation()

LocalInvitation agora_rtm.RtmCallManager.CreateLocalCallInvitation ( string  calleeId)
inline

Creates an LocalInvitation object.

Parameters
calleeIdThe Callee's user ID.
Returns
An LocalInvitation object.

◆ Dispose()

void agora_rtm.RtmCallManager.Dispose ( )
inline

Releases all resources used by the RtmCallManager instance.

◆ RefuseRemoteInvitation()

int agora_rtm.RtmCallManager.RefuseRemoteInvitation ( RemoteInvitation  invitation)
inline

Allows the callee to decline an incoming call invitation.

Parameters
invitationAn RemoteInvitation object.
Returns

◆ SendLocalInvitation()

int agora_rtm.RtmCallManager.SendLocalInvitation ( LocalInvitation  invitation)
inline

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

Parameters
invitationAn LocalInvitation object.
Returns

The documentation for this class was generated from the following file: