cordova-plugin-admob-suite
Version:
Modern Google AdMob Cordova Plugin
21 lines (20 loc) • 764 B
TypeScript
import { Events, NativeActions } from './constants';
import AdMobState from './state';
export { Events, NativeActions };
export declare const enum Platforms {
android = "android",
ios = "ios"
}
export declare function execAsync(action: NativeActions, args?: any[]): Promise<{}>;
export declare function fireDocumentEvent(eventName: string, data?: null): void;
export declare function waitEvent(successEvent: any, failEvent?: string): Promise<{}>;
export declare type AdUnitIDOption = string | {
android: string;
ios: string;
};
export declare class AdBase {
protected state: AdMobState;
protected testAdUnitID: any;
constructor(state: AdMobState);
protected resolveAdUnitID(adUnitID?: AdUnitIDOption): string;
}