Movatterモバイル変換


[0]ホーム

URL:


HomeManualReferenceSource

Variable

Static Public Summary
public
this variable was deprecated. since version 0.6

Ad sizes.

public
since 0.6
public
since 0.6
public

Reward video requires mediation SDK to be installed,seecordova-admob-mediation for list of supported networks.

since 0.6

Static Public

publicAD_SIZE:BANNER_SIZEsource

import {AD_SIZE} from 'cordova-plugin-admob-free/admob'
this variable was deprecated. since version 0.6

Ad sizes.

publicbanner:Bannersince 0.6source

import {banner} from 'cordova-plugin-admob-free/admob'

Emit:

admob.banner.events.LOAD

admob.banner.events.LOAD_FAIL

admob.banner.events.OPEN

admob.banner.events.CLOSE

admob.banner.events.EXIT_APP

Example:

admob.banner.config({ id: 'ca-app-pub-xxx/xxx',})// Create banneradmob.banner.prepare()// Show the banneradmob.banner.show()// Hide the banneradmob.banner.hide()// Remove the banneradmob.banner.remove()

publicinterstitial:Interstitialsince 0.6source

import {interstitial} from 'cordova-plugin-admob-free/admob'

Emit:

admob.interstitial.events.LOAD

admob.interstitial.events.LOAD_FAIL

admob.interstitial.events.OPEN

admob.interstitial.events.CLOSE

admob.interstitial.events.EXIT_APP

Example:

admob.interstitial.config({ id: 'ca-app-pub-xxx/xxx',})admob.interstitial.prepare()admob.interstitial.show()

publicrewardvideo:RewardVideosince 0.6source

import {rewardvideo} from 'cordova-plugin-admob-free/admob'

Reward video requires mediation SDK to be installed,seecordova-admob-mediation for list of supported networks.

Emit:

admob.rewardvideo.events.LOAD

admob.rewardvideo.events.LOAD_FAIL

admob.rewardvideo.events.OPEN

admob.rewardvideo.events.CLOSE

admob.rewardvideo.events.EXIT_APP

admob.rewardvideo.events.START

admob.rewardvideo.events.REWARD

Example:

admob.rewardvideo.config({ id: 'ca-app-pub-xxx/xxx',})admob.rewardvideo.prepare()admob.rewardvideo.show()

[8]ページ先頭

©2009-2025 Movatter.jp