CustomImaServerSideAdInsertionUriBuilder

Deprecated

Builder for URI for IMA DAI streams. The resulting URI can be used to build a media item that can be played by the CustomImaServerSideAdInsertionMediaSource.

Deprecated

com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Constructors

Link copied to clipboard
constructor()
Creates a new instance.

Properties

Link copied to clipboard
The default timeout for loading the video URI, in milliseconds.
Link copied to clipboard
@C.ContentType
open var format: Int

Functions

Link copied to clipboard
open fun build(): Uri
Builds a URI with the builder's current values.
Link copied to clipboard
An opaque identifier for associated ad playback state, or null if the asset key (for live) or video id (for VOD) should be used as the ads identifier.
Link copied to clipboard
Sets the overridable ad tag parameters on the stream request.
Link copied to clipboard
The stream request API key.
Link copied to clipboard
The stream request asset key used for live streams.
Link copied to clipboard
Sets the stream request authorization token.
Link copied to clipboard
The stream request content source ID used for on-demand streams.
Link copied to clipboard
Specifies the deep link to the content's screen.
Link copied to clipboard
open fun setFormat(@C.ContentType format: Int): CustomImaServerSideAdInsertionUriBuilder
Sets the format of the stream request.
Link copied to clipboard
Sets the duration after which resolving the video URI should time out, in milliseconds.
Link copied to clipboard
Sets the optional stream manifest's suffix, which will be appended to the stream manifest's URL.
Link copied to clipboard
Sets the ID to be used to debug the stream with the stream activity monitor.
Link copied to clipboard
The stream request video ID used for on-demand streams.