Readonly
calleeuid of the callee.
The channel ID set by the caller.
To intercommunicate with the legacy Agora Signaling SDK, you MUST set the channel ID. However, even if the callee successfully accepts the call invitation, the Agora RTM SDK does not join the channel of the specified channel ID.
Call invitation content set by the caller.
The maximum length is 8 KB.
Readonly
responseThe callee's response to the call invitation.
Readonly
stateState of the outgoing call invitation.
See: LocalInvitationState.
Static
defaultAllows the caller to cancel a sent call invitation. This method has no asynchronous callbacks. To listen for LocalInvitationState changes, register the event handler in LocalInvitationEvents via the on method.
Rest
...args: any[]Adds the listener
function to the channel for the event named eventName
. See the EventEmitter
API documentation for other event methods on the RtmChannel
instance.
The name of the channel event. See the property names in the RtmChannelEvents for the list of events.
The callback function of the channel event.
Rest
...args: ListenerType<LocalInvitationEvents[EventName]>Rest
...args: ListenerType<LocalInvitationEvents[P]>Optional
event: PSend a call invitation to a specified remote user (callee). This method has no asynchronous callbacks. To listen for LocalInvitationState changes, register the event handler in LocalInvitationEvents via the on method.
Generated using TypeDoc
The call invitation object created by calling the createLocalInvitation method, and called only by the caller.
No Inherit Doc