Skip to main content
Version: 1.x

Class: InterstitialAd

Hierarchy

Constructors

constructor

new InterstitialAd(opts)

Parameters

NameType
optsMobileAdOptions

Inherited from

MobileAd.constructor

Defined in

api.ts:15

Properties

id

Readonly id: number

Inherited from

MobileAd.id

Defined in

api.ts:13


opts

Protected Readonly opts: MobileAdOptions

Inherited from

MobileAd.opts

Defined in

api.ts:15


type

Static Readonly type: string = ''

Inherited from

MobileAd.type

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

NameType
idnumber

Returns

MobileAd<MobileAdOptions>

Inherited from

MobileAd.getAdById

Defined in

api.ts:24