mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
docs(backgroundmode): update docs
This commit is contained in:
parent
785646800b
commit
5b98a80828
@ -53,14 +53,14 @@ export class BackgroundMode {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if background mode is enabled or not.
|
* Checks if background mode is enabled or not.
|
||||||
* @returns {Promise<boolean>} returns a true of false if the background mode is enabled.
|
* @returns {Promise<boolean>} returns a promise that resolves with boolean that indicates if the background mode is enabled.
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static isEnabled(): Promise<boolean> { return; }
|
static isEnabled(): Promise<boolean> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Can be used to get the information if the background mode is active.
|
* Can be used to get the information if the background mode is active.
|
||||||
* @returns {Promise<boolean>} returns true or false if the background mode is active.
|
* @returns {Promise<boolean>} returns a promise that resolves with boolean that indicates if the background mode is active.
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static isActive(): Promise<boolean> { return; }
|
static isActive(): Promise<boolean> { return; }
|
||||||
|
Loading…
Reference in New Issue
Block a user