mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +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
|
||||
* @name Web Intent
|
||||
* @description
|
||||
* This Plugin provides a general purpose shim layer for the Android intent mechanism, exposing various ways to handle sending and receiving intents.
|
||||
* @usage
|
||||
* For usage information please refer to the plugin's Github repo.
|
||||
*
|
||||
@ -161,6 +162,14 @@ export class WebIntent extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova()
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user