ht-capacitor-admob
v0.1.31
Published
A simple capacitor plugin
Readme
ht-capacitor-admob
A simple capacitor plugin
Install
npm install ht-capacitor-admob
npx cap syncAPI
createBanner(...)showBanner()hideBanner()createInterstitial(...)preloadInterstitial(...)showInterstitial()createAppOpenAd(...)showAppOpenAd()createRewardedAd(...)loadRewardedAd()showRewardedAd()
createBanner(...)
createBanner(options: { adUnitId: string; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------- |
| options | { adUnitId: string; } |
showBanner()
showBanner() => Promise<any>Returns: Promise<any>
hideBanner()
hideBanner() => Promise<void>createInterstitial(...)
createInterstitial(options: { adUnitId: string; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------- |
| options | { adUnitId: string; } |
preloadInterstitial(...)
preloadInterstitial(options: { adUnitId: string; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------- |
| options | { adUnitId: string; } |
showInterstitial()
showInterstitial() => Promise<void>createAppOpenAd(...)
createAppOpenAd(options: { adUnitId: string; }) => Promise<void>| Param | Type |
| ------------- | ---------------------------------- |
| options | { adUnitId: string; } |
showAppOpenAd()
showAppOpenAd() => Promise<void>createRewardedAd(...)
createRewardedAd(options: { adUnitId: string; userId: string; }) => Promise<void>| Param | Type |
| ------------- | -------------------------------------------------- |
| options | { adUnitId: string; userId: string; } |
loadRewardedAd()
loadRewardedAd() => Promise<void>showRewardedAd()
showRewardedAd() => Promise<any>Returns: Promise<any>
