Skip to main content
Version: Next

Class: NativeAd

Hierarchy

  • IonicNativePlugin

    NativeAd

Implements

  • Omit<INativeAd, "opts">

Constructors

constructor

new NativeAd(opts): NativeAd

Parameters

NameType
optsNativeAdOptions

Returns

NativeAd

Overrides

IonicNativePlugin.constructor

Defined in

ionic/src/ngx/index.ts:201

Properties

obj

Private obj: NativeAd

Defined in

ionic/src/ngx/index.ts:199


plugin

Static plugin: string = plugin

Overrides

IonicNativePlugin.plugin

Defined in

ionic/src/ngx/index.ts:195


pluginName

Static pluginName: string = pluginName

Overrides

IonicNativePlugin.pluginName

Defined in

ionic/src/ngx/index.ts:196


pluginRef

Static pluginRef: string = 'admob.NativeAd'

Overrides

IonicNativePlugin.pluginRef

Defined in

ionic/src/ngx/index.ts:197

Accessors

adUnitId

get adUnitId(): string

Returns

string

Implementation of

Omit.adUnitId

Defined in

ionic/src/ngx/index.ts:207


id

get id(): string

Returns

string

Implementation of

Omit.id

Defined in

ionic/src/ngx/index.ts:211

Methods

hide

hide(): Promise<unknown>

Returns

Promise<unknown>

Implementation of

Omit.hide

Defined in

ionic/src/ngx/index.ts:227


isLoaded

isLoaded(): Promise<boolean>

Returns

Promise<boolean>

Implementation of

Omit.isLoaded

Defined in

ionic/src/ngx/index.ts:215


load

load(): Promise<void>

Returns

Promise<void>

Implementation of

Omit.load

Defined in

ionic/src/ngx/index.ts:219


on

on(...opts): () => void

Parameters

NameType
...opts[type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions]

Returns

fn

▸ (): void

Returns

void

Implementation of

Omit.on

Defined in

ionic/src/ngx/index.ts:235


show

show(...args): Promise<unknown>

Parameters

NameType
...args[opts?: ShowOptions]

Returns

Promise<unknown>

Implementation of

Omit.show

Defined in

ionic/src/ngx/index.ts:223


showWith

showWith(...args): Promise<void>

Parameters

NameType
...args[elm: HTMLElement]

Returns

Promise<void>

Implementation of

Omit.showWith

Defined in

ionic/src/ngx/index.ts:231