NativeAdOptions class

Used to configure native ad requests.

Constructors

NativeAdOptions({AdChoicesPlacement? adChoicesPlacement, MediaAspectRatio? mediaAspectRatio, VideoOptions? videoOptions, bool? requestCustomMuteThisAd, bool? shouldRequestMultipleImages, bool? shouldReturnUrlsForImageAssets})
Construct a NativeAdOptions, an optional class used to further customize native ad requests.

Properties

adChoicesPlacement → AdChoicesPlacement?
Where to place the AdChoices icon.
final
hashCode → int
The hash code for this object.
no setteroverride
mediaAspectRatio → MediaAspectRatio?
The media aspect ratio.
final
requestCustomMuteThisAd → bool?
Whether to request a custom implementation for the Mute This Ad feature.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldRequestMultipleImages → bool?
Sets whether multiple images should be requested or not.
final
shouldReturnUrlsForImageAssets → bool?
Indicates whether image asset content should be loaded by the SDK.
final
videoOptions → VideoOptions?
Options for video.
final

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.
override