Skip to main content
Version: 1.x

Class: AdMob

Constructors

constructor

new AdMob()

Defined in

index.ts:49

Properties

AppOpenAd

Readonly AppOpenAd: typeof AppOpenAd

Defined in

index.ts:39


BannerAd

Readonly BannerAd: typeof BannerAd

Defined in

index.ts:40


Events

Readonly Events: typeof Events

Defined in

index.ts:46


InterstitialAd

Readonly InterstitialAd: typeof InterstitialAd

Defined in

index.ts:41


NativeAd

Readonly NativeAd: typeof NativeAd

Defined in

index.ts:42


RewardedAd

Readonly RewardedAd: typeof RewardedAd

Defined in

index.ts:43


RewardedInterstitialAd

Readonly RewardedInterstitialAd: typeof RewardedInterstitialAd

Defined in

index.ts:44


TrackingAuthorizationStatus

Readonly TrackingAuthorizationStatus: typeof TrackingAuthorizationStatus

Defined in

index.ts:47


createAd

Readonly createAd: <Ad, O>(cls: { type: string }, opts: O) => Promise<InstanceType<typeof MobileAd>>

Type declaration

▸ <Ad, O>(cls, opts): Promise<InstanceType<typeof MobileAd>>

Type parameters
NameType
AdAd: MobileAd<MobileAdOptions, Ad>
OO = O
Parameters
NameType
clsObject
cls.typestring
optsO
Returns

Promise<InstanceType<typeof MobileAd>>

Defined in

index.ts:49

Methods

configRequest

configRequest(requestConfig): Promise<unknown>

Parameters

NameType
requestConfigRequestConfig

Returns

Promise<unknown>

Defined in

index.ts:72


requestTrackingAuthorization

requestTrackingAuthorization(): Promise<false | TrackingAuthorizationStatus>

Returns

Promise<false | TrackingAuthorizationStatus>

Defined in

index.ts:88


setAppMuted

setAppMuted(value): Promise<unknown>

Parameters

NameType
valueboolean

Returns

Promise<unknown>

Defined in

index.ts:76


setAppVolume

setAppVolume(value): Promise<unknown>

Parameters

NameType
valuenumber

Returns

Promise<unknown>

Defined in

index.ts:80


start

start(): Promise<Object>

Returns

Promise<Object>

Defined in

index.ts:84