Home Manual Reference Source
import {Banner} from 'cordova-plugin-admob-free/admob'
public class | source

Banner

Static Member Summary

Static Public Members
public static

events: *

public static

Banner sizes

Constructor Summary

Protected Constructor
protected

Member Summary

Private Members
private

_config: {...undefined: Object, ...opts: Object}

Method Summary

Public Methods
public

Update config.

public

Hide the banner.

public

Create banner.

public

Remove the banner.

public

Show the banner.

Static Public Members

public static events: * source

public static sizes: BANNER_SIZE source

Banner sizes

Protected Constructors

protected constructor(opts: BannerConfig) source

Params:

NameTypeAttributeDescription
opts BannerConfig

Initial config.

Private Members

private _config: {...undefined: Object, ...opts: Object} source

Public Methods

public config(opts: BannerConfig): BannerConfig source

Update config.

Params:

NameTypeAttributeDescription
opts BannerConfig

New config.

Return:

BannerConfig

Updated config.

public hide(): Promise source

Hide the banner.

Return:

Promise

Excutaion result promise.

public prepare(): Promise source

Create banner.

Return:

Promise

Excutaion result promise.

public remove(): Promise source

Remove the banner.

Return:

Promise

Excutaion result promise.

public show(): Promise source

Show the banner.

Return:

Promise

Excutaion result promise.