Class: InterstitialAd
Hierarchy
-
↳ InterstitialAd
Constructors
constructor
• new InterstitialAd(opts
)
Parameters
Name | Type |
---|---|
opts | MobileAdOptions |
Inherited from
Defined in
api.ts:15
Properties
id
• Readonly
id: number
Inherited from
Defined in
api.ts:13
opts
• Protected
Readonly
opts: MobileAdOptions
Inherited from
Defined in
api.ts:15
type
▪ Static
Readonly
type: string
= ''
Inherited from
Defined in
api.ts:8
Accessors
adUnitId
• get
adUnitId(): string
Returns
string
Defined in
api.ts:33
Methods
isLoaded
▸ isLoaded(): Promise
<boolean
>
Returns
Promise
<boolean
>
Defined in
interstitial.ts:4
load
▸ load(): Promise
<void
>
Returns
Promise
<void
>
Defined in
interstitial.ts:10
show
▸ show(): Promise
<void
>
Returns
Promise
<void
>
Defined in
interstitial.ts:16
getAdById
▸ Static
getAdById(id
): MobileAd<MobileAdOptions>
Parameters
Name | Type |
---|---|
id | number |
Returns
Inherited from
Defined in
api.ts:24