IMADaiAdsPlayerBuilder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets the AdPlaybackPolicy instance that specifies the policy rules for IMA ads handling.

Link copied to clipboard

Sets the AdsLoaderManager instance responsible for managing ad requests and playback of IMA ads.

Link copied to clipboard

Allows to control if Ad UI elements, that show e.g. the number of Ads and Ad progress, should be disabled or not if custom Ad UI is required.

Link copied to clipboard
open fun build(platformContext: PlatformContext): Player
suspend fun build(platformContext: PlatformContext, adsRequest: SSAIAdsRequest): Result<IMAPlayer?, Error?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun excludeMediaSession(excludeMediaSession: Boolean): PlayerBuilder
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
fun preferredAudioMimeTypes(preferredAudioMimeTypes: Array<String>): PlayerBuilder
Link copied to clipboard
fun preferredVideoMimeTypes(preferredVideoMimeTypes: Array<String>): PlayerBuilder
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
fun thumbnailPreviewProperties(thumbnailPreviewEndpointUrl: String, maxConcurrentThumbnailDownloads: Int?, thumbnailPreviewConfig: ThumbnailPreviewConfig?): PlayerBuilder
Link copied to clipboard