UNPKG

@nativescript/google-mobile-ads

Version:
18 lines (17 loc) 793 B
import { AdsConsentBase, AdsConsentDebugGeography, AdsConsentStatus } from './common'; export { AdsConsentStatus, AdsConsentDebugGeography }; export declare class AdsConsent extends AdsConsentBase { static _geography: AdsConsentDebugGeography; static _deviceIds: string[]; static _tagForUnderAgeOfConsent: boolean; static _consentForm: UMPConsentForm; 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 isConsentFormAvailable(): boolean; static showForm(): Promise<void>; static loadForm(): Promise<void>; }