h5 library H5 Games Ads
Classes
- H5GamesAdsClient
- A client to request H5 Games Ads (Ad Placement API).
Enums
- BreakFormat
- Available formats of Ad Breaks.
- BreakStatus
- Response from AdSense, provided as param of the adBreakDone callback
- BreakType
- Available types of Ad Breaks.
- PreloadAdBreaks
-
Whether ads should always be preloaded before the first call to
adBreak. - SoundEnabled
- Whether the app is plays sounds during normal operations.
Extension Types
- AdBreakDonePlacementInfo
-
The parameter passed from the Ad Placement API to the
adBreakDonecallback. - AdBreakPlacement
- Placement configuration object.
- AdConfigParameters
-
Parameters for the
adConfigmethod call.
Properties
- h5GamesAds → H5GamesAdsClient
-
The singleton instance of the H5 Games Ads client.
final
Typedefs
- H5AdBreakDoneCallback = void Function(AdBreakDonePlacementInfo placementInfo)
-
The type of the
adBreakDonecallback. - H5AdDismissedCallback = void Function()
-
The type of the
adDismissedcallback. - H5AdViewedCallback = void Function()
-
The type of the
adViewedcallback. - H5AfterAdCallback = void Function()
-
The type of the
afterAdcallback. - H5BeforeAdCallback = void Function()
-
The type of the
beforeAdcallback. - H5BeforeRewardCallback = void Function(H5ShowAdFn showAdFn)
-
The type of the
beforeRewardcallback. - H5OnReadyCallback = void Function()
-
The type of the
onReadycallback. - H5ShowAdFn = void Function()
-
The type of the
showAdFnfunction passed to thebeforeRewardcallback.