AdsRequest class

An object containing the data used to request ads from the server.

Constructors

AdsRequest({required String adTagUrl, ContentProgressProvider? contentProgressProvider})
Creates an AdsRequest.
AdsRequest.fromPlatform(PlatformAdsRequest platform)
Constructs an AdsRequest from a specific platform implementation.

Properties

adTagUrl String
The URL from which ads will be requested.
no setter
contentProgressProvider ContentProgressProvider?
A ContentProgressProvider instance to allow scheduling of ad breaks based on content progress (cue points).
no setter
hashCode int
The hash code for this object.
no setterinherited
platform → PlatformAdsRequest
Implementation of PlatformAdsRequest for the current platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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