docs(backgroundmode): update docs

This commit is contained in:
Ibby Hadeed 2016-11-29 13:14:34 -05:00
parent 785646800b
commit 5b98a80828

View File

@ -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; }