Yandex class

Constructors

Yandex()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

interstititalListener YandexAdListener
no getter
rewardedListener YandexAdListener
no getter

Static Methods

initialize({String? appKey, bool gdprConsent = true, bool ccpaConsent = true}) FutureOr
Initializes the SDK
loadInterstitial(String placementId) Future
Loads an Interstitial Ad.
loadRewarded(String placementId) Future
Loads a Rewarded Video Ad.
showInterstitial() Future
Shows an Interstitial Ad.
showRewardedVideo() Future
Shows a Rewarded Video Ad.