Interface: AdMobPlusPlugin
Methods
addListener
▸ addListener(eventName
, listenerFunc
): Promise
<PluginListenerHandle> & PluginListenerHandle
Parameters
Name | Type |
---|---|
eventName | string |
listenerFunc | (event : any ) => void |
Returns
Promise
<PluginListenerHandle> & PluginListenerHandle
Defined in
definitions.ts:58
bannerHide
▸ bannerHide(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:40
bannerShow
▸ bannerShow(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.adUnitId | string |
opts.id | number |
opts.position? | "top" | "bottom" |
Returns
Promise
<void
>
Defined in
definitions.ts:35
configRequest
▸ configRequest(requestConfig
): Promise
<void
>
Parameters
Name | Type |
---|---|
requestConfig | RequestConfig |
Returns
Promise
<void
>
Defined in
definitions.ts:33
configure
▸ configure(config
): Promise
<void
>
Parameters
Name | Type |
---|---|
config | AdMobConfig |
Returns
Promise
<void
>
Defined in
definitions.ts:32
interstitialLoad
▸ interstitialLoad(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.adUnitId | string |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:42
interstitialShow
▸ interstitialShow(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:43
requestTrackingAuthorization
▸ requestTrackingAuthorization(): Promise
<Object
>
Returns
Promise
<Object
>
Defined in
definitions.ts:54
rewardedInterstitialLoad
▸ rewardedInterstitialLoad(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.adUnitId | string |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:48
rewardedInterstitialShow
▸ rewardedInterstitialShow(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:52
rewardedLoad
▸ rewardedLoad(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.adUnitId | string |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:45
rewardedShow
▸ rewardedShow(opts
): Promise
<void
>
Parameters
Name | Type |
---|---|
opts | Object |
opts.id | number |
Returns
Promise
<void
>
Defined in
definitions.ts:46
start
▸ start(): Promise
<void
>
Returns
Promise
<void
>
Defined in
definitions.ts:31