UNPKG

@nativescript/google-mobile-ads

Version:
24 lines (23 loc) 732 B
export declare enum AdsConsentStatus { REQUIRED = 0, NOT_REQUIRED = 1, OBTAINED = 2, UNKNOWN = 3 } export declare enum AdsConsentDebugGeography { DISABLED = 0, EEA = 1, NOT_EEA = 2 } export declare abstract class AdsConsentBase { static isConsentFormAvailable(): boolean; static loadForm(): Promise<any>; static setForceTesting(force: boolean): void; static reset(): void; static addTestDevices(deviceIds: string[]): void; static getStatus(): AdsConsentStatus; static requestInfoUpdate(): Promise<void>; static setDebugGeography(geography: AdsConsentDebugGeography): void; static setTagForUnderAgeOfConsent(tag: boolean): void; static showForm(): Promise<void>; }