mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-08 07:26:41 +08:00
feat(web-intent): add startService function
This commit is contained in:
parent
f11be24f74
commit
15bb350d8e
@ -6,6 +6,7 @@ import { Observable } from 'rxjs/Observable';
|
|||||||
* @beta
|
* @beta
|
||||||
* @name Web Intent
|
* @name Web Intent
|
||||||
* @description
|
* @description
|
||||||
|
* This Plugin provides a general purpose shim layer for the Android intent mechanism, exposing various ways to handle sending and receiving intents.
|
||||||
* @usage
|
* @usage
|
||||||
* For usage information please refer to the plugin's Github repo.
|
* For usage information please refer to the plugin's Github repo.
|
||||||
*
|
*
|
||||||
@ -162,6 +163,14 @@ export class WebIntent extends IonicNativePlugin {
|
|||||||
@Cordova()
|
@Cordova()
|
||||||
sendBroadcast(options: { action: string, extras?: { option: boolean } }): Promise<any> { return; }
|
sendBroadcast(options: { action: string, extras?: { option: boolean } }): Promise<any> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request that a given application service be started
|
||||||
|
* @param options {Object} { action: string, extras?: { option: boolean } }
|
||||||
|
* @returns {Promise<any>}
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
startService(options: { action: string, extras?: { option: boolean } }): Promise<any> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a broadcast receiver for the specified filters
|
* Registers a broadcast receiver for the specified filters
|
||||||
* @param filters {any}
|
* @param filters {any}
|
||||||
|
Loading…
Reference in New Issue
Block a user