Class: NativeAd
Hierarchy
-
IonicNativePlugin
↳
NativeAd
Implements
Omit
<INativeAd
,"opts"
>
Constructors
constructor
• new NativeAd(opts
): NativeAd
Parameters
Name | Type |
---|---|
opts | NativeAdOptions |
Returns
Overrides
IonicNativePlugin.constructor
Defined in
Properties
obj
• Private
obj: NativeAd
Defined in
plugin
▪ Static
plugin: string
= plugin
Overrides
IonicNativePlugin.plugin
Defined in
pluginName
▪ Static
pluginName: string
= pluginName
Overrides
IonicNativePlugin.pluginName
Defined in
pluginRef
▪ Static
pluginRef: string
= 'admob.NativeAd'
Overrides
IonicNativePlugin.pluginRef
Defined in
Accessors
adUnitId
• get
adUnitId(): string
Returns
string
Implementation of
Omit.adUnitId
Defined in
id
• get
id(): string
Returns
string
Implementation of
Omit.id
Defined in
Methods
hide
▸ hide(): Promise
<unknown
>
Returns
Promise
<unknown
>
Implementation of
Omit.hide
Defined in
isLoaded
▸ isLoaded(): Promise
<boolean
>
Returns
Promise
<boolean
>
Implementation of
Omit.isLoaded
Defined in
load
▸ load(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
Omit.load
Defined in
on
▸ on(...opts
): () => void
Parameters
Name | Type |
---|---|
...opts | [type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions] |
Returns
fn
▸ (): void
Returns
void
Implementation of
Omit.on
Defined in
show
▸ show(...args
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
...args | [opts?: ShowOptions] |
Returns
Promise
<unknown
>
Implementation of
Omit.show
Defined in
showWith
▸ showWith(...args
): Promise
<void
>
Parameters
Name | Type |
---|---|
...args | [elm: HTMLElement] |
Returns
Promise
<void
>
Implementation of
Omit.showWith