Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

The mode which controls how client-side tracking requests are managed. If set to playhead, the current playhead position will be included as a request query parameter to allow the server sending only the tracking info for ads close to the current playhead position. If set to pagination, a pagination token will be included as a request query parameter to allow the server to avoid resending tracking info that was already transmitted. If set to full, the server would send tracking info for all ads that exist in the manifest window. If left unspecified, the pagination mode would be chosen by default.

Link copied to clipboard
Link copied to clipboard

The default interval (in seconds) between consecutive client-side tracking requests. If it is set to 0 or left unspecified, the built-in default value will be used. If it is set to a negative value, the periodic ad tracking info polling will be suspended.

Link copied to clipboard

Whether non-interactive client-side beaconing should be disabled for the MediaTailor session. If it is left unspecified, the default value is false (i.e., all beaconing remains enabled).

Link copied to clipboard

Emit UI event AD_INCOMING if the next ad will start within this interval (in seconds).

Link copied to clipboard

Parameters (key/value pairs) for origin interaction.

Link copied to clipboard

Parameters for Google PAL SDK to request for a nonce with. This field will be ignored if the {@link palNonceString} field is specified.

Link copied to clipboard

The nonce string generated by Google PAL SDK, which should be specified only if the step to request for a nonce is already completed elsewhere.

Link copied to clipboard

Parameters (key/value pairs) for the ad server.

Link copied to clipboard

MediaTailor features for the session.

Link copied to clipboard

Extra HTTP headers (key/value pairs) for MediaTailor session initialization.

Link copied to clipboard

The request timeout (in milliseconds) for MediaTailor session initialization. If set to 0, no timeout is applied. Defaults to 30000 milliseconds if unspecified.

Link copied to clipboard

The absolute URL for MediaTailor session initialization.

Link copied to clipboard

The absolute URL of the client-side tracking API. This field should be set only if the MediaTailor session is already initialized elsewhere.