KaleyraVideo

Hierarchy

  • EventListener
    • default

Properties

audioCallTypes: typeof AudioCallType = AudioCallType

Available audio call types

callDisplayModes: typeof CallDisplayMode = CallDisplayMode

Available display modes

callTypes: typeof CallType = CallType

Available call types

environments: typeof Environments = Environments

Available environments

events: typeof Events = Events

Available events

instance: default

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

recordingTypes: typeof RecordingType = RecordingType

Available recording types

regions: typeof Regions = Regions

Available regions

voipHandlingStrategies: typeof VoipHandlingStrategy = VoipHandlingStrategy

Available voip Handling Strategies

Methods

  • Call this method to provide the details for each user. Kaleyra Video will use this information 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 Kaleyra Video information.

    Parameters

    • Optional success: (() => void)

      callback

        • (): void
        • Returns void

    • Optional error: ((reason) => void)

      callback

        • (reason): void
        • Parameters

          • reason: any

          Returns void

    Returns void

  • Connect the plugin

    Parameters

    • session: Session

      session to connect with

    • Optional error: (() => void)

      callback

        • (): void
        • Returns void

    Returns void

    Throws

    IllegalArgumentError

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

    Returns void

  • This method allows you to reset the configuration.

    Parameters

    • Optional success: (() => void)

      callback

        • (): void
        • Returns void

    • Optional error: ((reason) => void)

      callback

        • (reason): void
        • Parameters

          • reason: any

          Returns void

    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

  • Get the current state of the plugin

    Returns Promise<unknown>

    the state as a promise

Generated using TypeDoc