Skip to main content
Version: Next

Class: InterstitialAd

Hierarchy

  • MobileAd

    InterstitialAd

Constructors

constructor

new InterstitialAd(opts): InterstitialAd

Parameters

NameType
optsMobileAdOptions

Returns

InterstitialAd

Inherited from

MobileAd.constructor

Defined in

index.ts:30

Properties

#created

Private #created: boolean = false

Inherited from

MobileAd.#created

Defined in

index.ts:27


#init

Private #init: null | Promise<any> = null

Inherited from

MobileAd.#init

Defined in

index.ts:28


id

Readonly id: number

Inherited from

MobileAd.id

Defined in

index.ts:23


opts

Protected Readonly opts: MobileAdOptions

Inherited from

MobileAd.opts

Defined in

index.ts:25


cls

Static cls: string = 'InterstitialAd'

Defined in

index.ts:128

Accessors

adUnitId

get adUnitId(): string

Returns

string

Inherited from

MobileAd.adUnitId

Defined in

index.ts:42

Methods

hide

hide(): Promise<void>

Returns

Promise<void>

Inherited from

MobileAd.hide

Defined in

index.ts:61


init

init(): Promise<void>

Returns

Promise<void>

Inherited from

MobileAd.init

Defined in

index.ts:66


isLoaded

isLoaded(): Promise<boolean>

Returns

Promise<boolean>

Overrides

MobileAd.isLoaded

Defined in

index.ts:130


load

load(): Promise<void>

Returns

Promise<void>

Overrides

MobileAd.load

Defined in

index.ts:134


show

show(): Promise<void>

Returns

Promise<void>

Overrides

MobileAd.show

Defined in

index.ts:138