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

Public Member Functions

String  getCallerId ()
 
String  getContent ()
 
String  getChannelId ()
 
void  setResponse (String response)
 
String  getResponse ()
 
int  getState ()
 

Detailed Description

The callee's call invitation methods.

Member Function Documentation

◆ getCallerId()

String io.agora.rtm.RemoteInvitation.getCallerId ( )

Allows the callee to get the User ID of the caller.

◆ getContent()

String io.agora.rtm.RemoteInvitation.getContent ( )

Allows the callee to get the call invitation content set by the caller.

The caller sets the call invitation content using the setContent method.

◆ getChannelId()

String io.agora.rtm.RemoteInvitation.getChannelId ( )

Gets the channel ID.

Returns
The channel ID that the caller sets using the setChannelId() method.

◆ setResponse()

void io.agora.rtm.RemoteInvitation.setResponse ( String  response )

Allows the callee to set a response to the incoming call invitation.

Parameters
response The callee's response to the call invitation. The number of bytes representing the response must not exceed 8 KB if encoded in UTF-8.

◆ getResponse()

String io.agora.rtm.RemoteInvitation.getResponse ( )

Allows the callee to get the the call invitation response.

The callee sets the response to the incoming call invitation using the setResponse method.

◆ getState()

int io.agora.rtm.RemoteInvitation.getState ( )

Allows the callee to get the state of the incoming call invitation.

See: RemoteInvitationState.