mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
refactor(DeviceAccounts): formatting
This commit is contained in:
parent
54c3a24e59
commit
0a7577cec0
@ -1,33 +1,32 @@
|
||||
import {Cordova, Plugin} from './plugin';
|
||||
declare var window;
|
||||
@Plugin({
|
||||
plugin: 'https://github.com/loicknuchel/cordova-device-accounts.git',
|
||||
pluginRef: 'plugins.DeviceAccounts',
|
||||
repo: 'https://github.com/loicknuchel/cordova-device-accounts.git'
|
||||
repo: 'https://github.com/loicknuchel/cordova-device-accounts'
|
||||
})
|
||||
export class DeviceAccounts {
|
||||
|
||||
/**
|
||||
* Gets all accounts registered on the Android Device
|
||||
*/
|
||||
/**
|
||||
* Gets all accounts registered on the Android Device
|
||||
*/
|
||||
@Cordova()
|
||||
static get() : Promise<any> {return}
|
||||
|
||||
/**
|
||||
* Get all accounts registred on Android device for requested type
|
||||
*/
|
||||
/**
|
||||
* Get all accounts registered on Android device for requested type
|
||||
*/
|
||||
@Cordova()
|
||||
static getByType(type: string) : Promise<any> {return}
|
||||
|
||||
/**
|
||||
* Get all emails registred on Android device (accounts with 'com.google' type)
|
||||
*/
|
||||
/**
|
||||
* Get all emails registered on Android device (accounts with 'com.google' type)
|
||||
*/
|
||||
@Cordova()
|
||||
static getEmails() : Promise<any> {return}
|
||||
|
||||
/**
|
||||
* Get the first email registred on Android device
|
||||
*/
|
||||
/**
|
||||
* Get the first email registered on Android device
|
||||
*/
|
||||
@Cordova()
|
||||
static getEmail() : Promise<any> {return}
|
||||
}
|
Loading…
Reference in New Issue
Block a user