The call invitation object created by calling the createLocalInvitation method, and called only by the caller.

No Inherit Doc

Hierarchy

Constructors

Properties

calleeId: string

uid of the callee.

channelId: string

The channel ID set by the caller.

Note

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.

content: string

Call invitation content set by the caller.

Note

The maximum length is 8 KB.

response: string

The callee's response to the call invitation.

State of the outgoing call invitation.

See: LocalInvitationState.

defaultMaxListeners: number

Methods

  • Allows 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.

    Returns void

  • Type Parameters

    Parameters

    • this: T
    • event: P

    Returns number

  • Type Parameters

    Parameters

    • this: T
    • event: P

    Returns Function[]

  • Type Parameters

    Parameters

    • this: T
    • event: P
    • listener: ((...args: any[]) => any)
        • (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    Returns LocalInvitation

  • Type Parameters

    Parameters

    • this: T
    • event: P

    Returns Function[]

  • Type Parameters

    Parameters

    • this: T
    • Optional event: P

    Returns LocalInvitation

  • Send 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.

    Returns void

Generated using TypeDoc