UNPKG

682 BTypeScriptView Raw
1export declare class DeviceAccounts {
2 /**
3 * Gets all accounts registered on the Android Device
4 * @returns {Promise<any>}
5 */
6 static get(): Promise<any>;
7 /**
8 * Get all accounts registered on Android device for requested type
9 * @returns {Promise<any>}
10 */
11 static getByType(type: string): Promise<any>;
12 /**
13 * Get all emails registered on Android device (accounts with 'com.google' type)
14 * @returns {Promise<any>}
15 */
16 static getEmails(): Promise<any>;
17 /**
18 * Get the first email registered on Android device
19 * @returns {Promise<any>}
20 */
21 static getEmail(): Promise<any>;
22}