Class: InterstitialAd
Hierarchy
-
MobileAd
↳
InterstitialAd
Constructors
constructor
• new InterstitialAd(opts
): InterstitialAd
Parameters
Name | Type |
---|---|
opts | MobileAdOptions |
Returns
Inherited from
MobileAd.constructor
Defined in
Properties
id
• Readonly
id: number
Inherited from
MobileAd.id
Defined in
opts
• Protected
Readonly
opts: MobileAdOptions
Inherited from
MobileAd.opts
Defined in
cls
▪ Static
cls: string
= 'InterstitialAd'
Defined in
Accessors
adUnitId
• get
adUnitId(): string
Returns
string
Inherited from
MobileAd.adUnitId
Defined in
Methods
init
▸ init(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
MobileAd.init
Defined in
isLoaded
▸ isLoaded(): Promise
<boolean
>
Returns
Promise
<boolean
>
Overrides
MobileAd.isLoaded
Defined in
load
▸ load(): Promise
<void
>
Returns
Promise
<void
>
Overrides
MobileAd.load
Defined in
on
▸ on(eventType
, listener
, context?
): EmitterSubscription
Parameters
Name | Type |
---|---|
eventType | string |
listener | (event : any ) => void |
context? | Record <string , unknown > |
Returns
EmitterSubscription
Inherited from
MobileAd.on
Defined in
show
▸ show(): Promise
<void
>
Returns
Promise
<void
>
Overrides
MobileAd.show