Constructors

Methods

  • Reports a custom event to the current Conviva session.

    Parameters

    • eventType: string

      the type of the custom event.

    • Optional eventDetail: object

      an optional object containing event details.

    Returns void

  • Reports an error to the Conviva session and closes the session.

    Parameters

    • errorMessage: string

      string explaining what the error is.

    Returns void

  • Sets Conviva metadata on the Conviva ad analytics.

    Parameters

    • metadata: ConvivaMetadata

      object of key value pairs

    Returns void

  • Sets Conviva metadata on the Conviva video analytics. Use this method to set source specific metadata after setting a source to the player.

    Parameters

    • metadata: ConvivaMetadata

      object of key value pairs

    Returns void

  • Explicitly stop the current session and start a new one.

    This can be used to manually mark the start of a new session during a live stream, for example when a new program starts. By default, new sessions are only started on play-out of a new source, or for an ad break.

    Parameters

    • metadata: ConvivaMetadata

      object of key value pairs.

    Returns void

Generated using TypeDoc