Documentation
Real-time Messaging
API Reference
Agora RTM Java API Reference for Android
Agora RTM Java API Reference for Android
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ onRemoteInvitationAccepted()
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationAccepted |
( |
RemoteInvitation |
remoteInvitation | ) |
|
Callback to the callee: occurs when the callee accepts a call invitation.
- Parameters
-
◆ onRemoteInvitationRefused()
void io.agora.rtm.RtmCallEventListener.onRemoteInvitationRefused |
( |
RemoteInvitation |
remoteInvitation | ) |
|
Callback for the callee: occurs when the callee refuses a call invitation.
- Parameters
-
◆ 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
-
◆ 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
-