AdsRenderingSettings class

Defines parameters that control the rendering of ads.

Constructors

AdsRenderingSettings.new({int? bitrate, bool? enablePreloading, Duration loadVideoTimeout = const Duration(seconds: 8), List<String>? mimeTypes, Duration? playAdsAfterTime, Set<AdUIElement>? uiElements})
Creates an AdsRenderingSettings.
AdsRenderingSettings.fromPlatform(PlatformAdsRenderingSettings platform)
Constructs an AdsRenderingSettings from a specific platform implementation.

Properties

bitrate int?
Maximum recommended bitrate.
no setter
enablePreloading bool?
If set, the SDK will instruct the player to load the creative in response to AdsManager.init.
no setter
hashCode int
The hash code for this object.
no setterinherited
loadVideoTimeout Duration
Specifies a non-default amount of time to wait for media to load before timing out.
no setter
mimeTypes List<String>?
The SDK will prioritize the media with MIME type on the list.
no setter
platform → PlatformAdsRenderingSettings
Implementation of PlatformAdsRenderingSettings for the current platform.
final
playAdsAfterTime Duration?
For VMAP and ad rules playlists, only play ad breaks scheduled after this time.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiElements Set<AdUIElement>?
The ad UI elements to be rendered by the IMA SDK.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited