@admob-plus/capacitor
    TypeScript icon, indicating that this package has built-in type declarations

    1.16.1 • Public • Published

    NPM version GitHub last commit Dependency status Vulnerabilities NPM license

    @admob-plus/capacitor

    AdMob Plus Capacitor Plugin

    Install

    npm install @admob-plus/capacitor
    npx cap sync

    API

    start()

    start() => any

    Returns: any


    configure(...)

    configure(config: AdMobConfig) => any
    Param Type
    config AdMobConfig

    Returns: any


    configRequest(...)

    configRequest(requestConfig: RequestConfig) => any
    Param Type
    requestConfig RequestConfig

    Returns: any


    adCreate(...)

    adCreate<O extends MobileAdOptions>(opts: O) => any
    Param Type
    opts O

    Returns: any


    adIsLoaded(...)

    adIsLoaded(opts: { id: number; }) => any
    Param Type
    opts { id: number; }

    Returns: any


    adLoad(...)

    adLoad(opts: { id: number; }) => any
    Param Type
    opts { id: number; }

    Returns: any


    adShow(...)

    adShow(opts: { id: number; }) => any
    Param Type
    opts { id: number; }

    Returns: any


    adHide(...)

    adHide(opts: { id: number; }) => any
    Param Type
    opts { id: number; }

    Returns: any


    trackingAuthorizationStatus()

    trackingAuthorizationStatus() => any

    Returns: any


    requestTrackingAuthorization()

    requestTrackingAuthorization() => any

    Returns: any


    addListener(string, ...)

    addListener(eventName: string, listenerFunc: (event: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
    Param Type
    eventName string
    listenerFunc (event: any) => void

    Returns: any


    Interfaces

    PluginListenerHandle

    Prop Type
    remove () => any

    Type Aliases

    AdMobConfig

    { appMuted?: boolean appVolume?: number }

    RequestConfig

    { maxAdContentRating?: MaxAdContentRating tagForChildDirectedTreatment?: boolean | null tagForUnderAgeOfConsent?: boolean | null testDeviceIds?: string[] }

    MobileAdOptions

    { adUnitId: string }

    Enums

    MaxAdContentRating

    Members Value
    G 'G'
    MA 'MA'
    PG 'PG'
    T 'T'
    UNSPECIFIED ''

    TrackingAuthorizationStatus

    Members Value
    notDetermined 0
    restricted 1
    denied 2
    authorized 3

    Install

    npm i @admob-plus/capacitor

    DownloadsWeekly Downloads

    237

    Version

    1.16.1

    License

    MIT

    Unpacked Size

    150 kB

    Total Files

    46

    Last publish

    Collaborators

    • avatar