FacebookRewardedVideoAd class

Constructors

FacebookRewardedVideoAd()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 Methods

destroyRewardedVideoAd() Future<bool>
Removes the rewarded video Ad.
loadRewardedVideoAd({String placementId = "YOUR_PLACEMENT_ID", dynamic listener(RewardedVideoAdResult, dynamic)}) Future<bool>
Loads a rewarded video Ad in background. Replace the default placementId with the one which you obtain by signing-up for Facebook Audience Network. [...]
showRewardedVideoAd({int delay = 0}) Future<bool>
Shows a rewarded video Ad after it has been loaded. (This needs to be called only after calling loadRewardedVideoAd function). delay is in milliseconds. [...]