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.
Functions
Link copied to clipboard
open fun setAdTagParameters(adTagParameters: Map<String, String>): CustomImaServerSideAdInsertionUriBuilder
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
open fun setContentSourceId(@Nullable contentSourceId: String): CustomImaServerSideAdInsertionUriBuilder
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
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
open fun setManifestSuffix(@Nullable manifestSuffix: String): CustomImaServerSideAdInsertionUriBuilder
Sets the optional stream manifest's suffix, which will be appended to the stream manifest's URL.
Link copied to clipboard
open fun setStreamActivityMonitorId(@Nullable streamActivityMonitorId: String): CustomImaServerSideAdInsertionUriBuilder
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.