Class: RewardedAd
Hierarchy
-
↳ RewardedAd
Constructors
constructor
• new RewardedAd(opts
)
Parameters
Name | Type |
---|---|
opts | RewardedAdOptions |
Inherited from
Defined in
api.ts:15
Properties
id
• Readonly
id: number
Inherited from
Defined in
api.ts:13
opts
• Protected
Readonly
opts: RewardedAdOptions
Inherited from
Defined in
api.ts:15
type
▪ Static
Readonly
type: string
= ''
Inherited from
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
Name | Type |
---|---|
id | number |
Returns
Inherited from
Defined in
api.ts:24