KaleyraVideo

Hierarchy

  • KaleyraVideo

Properties

instance: KaleyraVideo

To create an instance of the Kaleyra Video invoke the [[configure]] method

Methods

  • Call this method to provide the details for each user to be used to set up the UI

    Parameters

    Returns void

    Throws

    IllegalArgumentError

  • This method allows you to clear all user cached data, such as chat messages and generic information.

    Returns void

  • Connect the plugin

    Parameters

    • session: Session

      session to connect with

    Returns void

    Throws

    IllegalArgumentError

  • This method returns the current voip push token

    Returns Promise<string>

    promise of voipPushToken or undefined if has not been generated yet.

  • Call this method to remove all the user details previously provided.

    Returns void

  • Set the UI display mode for the current call

    Parameters

    • mode: CallDisplayMode

      FOREGROUND, FOREGROUND_PICTURE_IN_PICTURE, BACKGROUND

    Returns void

    Throws

    IllegalArgumentError

  • Start Call from url

    Parameters

    • url: string

      received

    Returns void

    Throws

    IllegalArgumentError

  • Open chat

    Parameters

    • userID: string

      user you want to chat with

    Returns void

    Throws

    IllegalArgumentError

Generated using TypeDoc