Skip to main content
Version: 1.x

Class: MobileAd<T>

internal

Type parameters​

NameType
TT: MobileAdOptions = MobileAdOptions

Hierarchy​

Constructors​

constructor​

• new MobileAd<T>(opts)

Type parameters​

NameType
TT: MobileAdOptions = MobileAdOptions

Parameters​

NameType
optsT

Defined in​

api.ts:15

Properties​

id​

• Readonly id: number

Defined in​

api.ts:13


opts​

• Protected Readonly opts: T

Defined in​

api.ts:15


allAds​

▪ Static Private allAds: Object =

Index signature​

▪ [s: number]: MobileAd

Defined in​

api.ts:10


idCounter​

▪ Static Private idCounter: number = 0

Defined in​

api.ts:11


type​

▪ Static Readonly type: string = ''

Defined in​

api.ts:8

Accessors​

adUnitId​

• get adUnitId(): string

Returns​

string

Defined in​

api.ts:33

Methods​

getAdById​

▸ Static getAdById(id): MobileAd<MobileAdOptions>

Parameters​

NameType
idnumber

Returns​

MobileAd<MobileAdOptions>

Defined in​

api.ts:24


nextId​

▸ Static Private nextId(): number

Returns​

number

Defined in​

api.ts:28