Skip to main content
Version: 1.x

Class: RewardedAd

Hierarchy​

Constructors​

constructor​

• new RewardedAd(opts)

Parameters​

NameType
optsRewardedAdOptions

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

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<unknown>

Returns​

Promise<unknown>

Defined in​

rewarded.ts:13


load​

▸ load(): Promise<unknown>

Returns​

Promise<unknown>

Defined in​

rewarded.ts:17


show​

▸ show(): Promise<unknown>

Returns​

Promise<unknown>

Defined in​

rewarded.ts:23


getAdById​

▸ Static getAdById(id): MobileAd<MobileAdOptions>

Parameters​

NameType
idnumber

Returns​

MobileAd<MobileAdOptions>

Inherited from​

MobileAd.getAdById

Defined in​

api.ts:24