@azerion/h5-ad-wrapper
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Ad
Events
Ad
Type
Cocoon
Provider
Game
Distribution
AdType
Google
AdEvent
Cocoon
Ads
Cordova
Gamedistribution
Cordova
Heyzap
Game
Distribution
constructor
ad
Manager
ads
Enabled
has
Rewarded
ad
Available
are
Ads
Enabled
destroy
Ad
hide
Ad
preload
Ad
sdk
Loaded
set
Manager
show
Ad
H5
AdWrapper
Ima3
ICustom
Params
IProvider
ad
Wrapper
Hierarchy
GameDistribution
Implements
IProvider
Index
Constructors
constructor
Properties
ad
Manager
ads
Enabled
has
Rewarded
Methods
ad
Available
are
Ads
Enabled
destroy
Ad
hide
Ad
preload
Ad
sdk
Loaded
set
Manager
show
Ad
Constructors
constructor
new
Game
Distribution
(
gameId
:
string
)
:
GameDistribution
Parameters
gameId:
string
Returns
GameDistribution
Properties
ad
Manager
ad
Manager
:
H5AdWrapper
ads
Enabled
ads
Enabled
:
boolean
= false
has
Rewarded
has
Rewarded
:
boolean
= false
Methods
ad
Available
ad
Available
(
adType
:
AdType
)
:
boolean
Parameters
adType:
AdType
Returns
boolean
Private
are
Ads
Enabled
are
Ads
Enabled
(
)
:
Promise
<
boolean
>
Checks if the ads are enabled (e.g; adblock is enabled or not)
Returns
Promise
<
boolean
>
destroy
Ad
destroy
Ad
(
)
:
void
Returns
void
hide
Ad
hide
Ad
(
)
:
void
Returns
void
preload
Ad
preload
Ad
(
adType
:
AdType
)
:
void
Parameters
adType:
AdType
Returns
void
Private
sdk
Loaded
sdk
Loaded
(
)
:
void
Returns
void
set
Manager
set
Manager
(
manager
:
H5AdWrapper
)
:
void
Parameters
manager:
H5AdWrapper
Returns
void
show
Ad
show
Ad
(
adType
:
AdType
)
:
void
Parameters
adType:
AdType
Returns
void
Generated using
TypeDoc
Checks if the ads are enabled (e.g; adblock is enabled or not)