Skip to main content
Version: Next

Class: BannerAd

Hierarchy

  • MobileAd

    BannerAd

Constructors

constructor

new BannerAd(opts): BannerAd

Parameters

NameType
optsBannerAdOptions

Returns

BannerAd

Overrides

MobileAd.constructor

Defined in

index.ts:101

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


#loaded

Private #loaded: boolean = false

Defined in

index.ts:99


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 = 'BannerAd'

Defined in

index.ts:98

Accessors

adUnitId

get adUnitId(): string

Returns

string

Inherited from

MobileAd.adUnitId

Defined in

index.ts:42

Methods

hide

hide(): Promise<void>

Returns

Promise<void>

Overrides

MobileAd.hide

Defined in

index.ts:122


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:108


load

load(): Promise<void>

Returns

Promise<void>

Overrides

MobileAd.load

Defined in

index.ts:112


show

show(): Promise<void>

Returns

Promise<void>

Overrides

MobileAd.show

Defined in

index.ts:117