# RewardedVideoAd

Rewarded video ad component. This is a native component at a higher layer than normal components. A rewarded video ad is a singleton (a global singleton in Mini Games, and an intra-page singleton in Mini Programs where singleton objects cannot be used across pages), which is hidden by default, and you must call RewardedVideoAd.show() to display them.

# Methods

# Promise RewardedVideoAd.load()

Loads a rewarded video ad.

# Promise RewardedVideoAd.show()

Displays rewarded video ads. These ads are pushed from the bottom of the screen.

# RewardedVideoAd.onLoad(function callback)

Listens on the rewarded video ad loading event.

# RewardedVideoAd.offLoad(function callback)

Un-listens on the rewarded video ad loading event.

# RewardedVideoAd.onError(function callback)

Listens on the rewarded video error event.

# RewardedVideoAd.offError(function callback)

Un-listens on the rewarded video error event.

# RewardedVideoAd.onClose(function callback)

Listens on the event of tapping the Close Ad button.

# RewardedVideoAd.offClose(function callback)

Un-listens on the event of tapping the Close Ad button.