Class: RewardedInterstitialAd
Hierarchy
-
MobileAd
<RewardedInterstitialAdOptions
>↳
RewardedInterstitialAd
Constructors
constructor
• new RewardedInterstitialAd(opts
): RewardedInterstitialAd
Parameters
Name | Type |
---|---|
opts | RewardedAdOptions |
Returns
Inherited from
Defined in
packages/cordova/src/www/ads/base.ts:23
Properties
id
• Readonly
id: string
Inherited from
Defined in
packages/cordova/src/www/ads/base.ts:18
opts
• Protected
Readonly
opts: RewardedAdOptions
Inherited from
Defined in
packages/cordova/src/www/ads/base.ts:20
cls
▪ Static
Readonly
cls: "RewardedInterstitialAd"
Defined in
packages/cordova/src/www/ads/rewarded-interstitial.ts:7
Accessors
adUnitId
• get
adUnitId(): string
Returns
string
Inherited from
MobileAd.adUnitId
Defined in
packages/cordova/src/www/ads/base.ts:40
allAds
• get
allAds(): Record
<string
, MobileAd
<MobileAdOptions
>>
Returns
Record
<string
, MobileAd
<MobileAdOptions
>>
Inherited from
MobileAd.allAds
Defined in
packages/cordova/src/www/ads/base.ts:30
Methods
hide
▸ hide(): Promise
<unknown
>
Returns
Promise
<unknown
>
Inherited from
Defined in
packages/cordova/src/www/ads/base.ts:77
init
▸ init(): Promise
<unknown
>
Returns
Promise
<unknown
>
Inherited from
Defined in
packages/cordova/src/www/ads/base.ts:82
isLoaded
▸ isLoaded(): Promise
<boolean
>
Returns
Promise
<boolean
>
Overrides
Defined in
packages/cordova/src/www/ads/rewarded-interstitial.ts:9
load
▸ load(): Promise
<void
>
Returns
Promise
<void
>
Overrides
Defined in
packages/cordova/src/www/ads/rewarded-interstitial.ts:13
on
▸ on(...args
): () => void
Parameters
Name | Type |
---|---|
...args | [type: string, listener: Function, useCapture?: boolean] |
Returns
fn
▸ (): void
Returns
void
Inherited from
Defined in
packages/cordova/src/www/ads/base.ts:44
show
▸ show(): Promise
<unknown
>
Returns
Promise
<unknown
>
Overrides
Defined in
packages/cordova/src/www/ads/rewarded-interstitial.ts:17
getAdById
▸ getAdById(id
): MobileAd
<MobileAdOptions
>
Parameters
Name | Type |
---|---|
id | string |