refactor(DeviceAccounts):
This commit is contained in:
parent
c40fec7ae3
commit
6e8248a0b8
@ -1,33 +1,35 @@
|
|||||||
import {Cordova, Plugin} from './plugin';
|
import { Cordova, Plugin } from './plugin';
|
||||||
@Plugin({
|
|
||||||
plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git',
|
|
||||||
pluginRef: 'plugins.DeviceAccounts',
|
@Plugin({
|
||||||
repo: 'https://github.com/loicknuchel/cordova-device-accounts',
|
plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git',
|
||||||
platforms: ['Android']
|
pluginRef: 'plugins.DeviceAccounts',
|
||||||
})
|
repo: 'https://github.com/loicknuchel/cordova-device-accounts',
|
||||||
export class DeviceAccounts {
|
platforms: ['Android']
|
||||||
|
})
|
||||||
/**
|
export class DeviceAccounts {
|
||||||
* Gets all accounts registered on the Android Device
|
|
||||||
*/
|
/**
|
||||||
@Cordova()
|
* Gets all accounts registered on the Android Device
|
||||||
static get(): Promise<any> {return; }
|
*/
|
||||||
|
@Cordova()
|
||||||
/**
|
static get(): Promise<any> { return; }
|
||||||
* Get all accounts registered on Android device for requested type
|
|
||||||
*/
|
/**
|
||||||
@Cordova()
|
* Get all accounts registered on Android device for requested type
|
||||||
static getByType(type: string): Promise<any> {return; }
|
*/
|
||||||
|
@Cordova()
|
||||||
/**
|
static getByType(type: string): Promise<any> { return; }
|
||||||
* Get all emails registered on Android device (accounts with 'com.google' type)
|
|
||||||
*/
|
/**
|
||||||
@Cordova()
|
* Get all emails registered on Android device (accounts with 'com.google' type)
|
||||||
static getEmails(): Promise<any> {return; }
|
*/
|
||||||
|
@Cordova()
|
||||||
/**
|
static getEmails(): Promise<any> { return; }
|
||||||
* Get the first email registered on Android device
|
|
||||||
*/
|
/**
|
||||||
@Cordova()
|
* Get the first email registered on Android device
|
||||||
static getEmail(): Promise<any> {return; }
|
*/
|
||||||
}
|
@Cordova()
|
||||||
|
static getEmail(): Promise<any> { return; }
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user