mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
parent
281575b961
commit
763ad1bdb0
@ -24,13 +24,13 @@ import { Plugin, Cordova } from './plugin';
|
||||
export class CallNumber {
|
||||
/**
|
||||
* Calls a phone number
|
||||
* @param numberToCall {number} The phone number to call
|
||||
* @param numberToCall {string} The phone number to call as a string
|
||||
* @param bypassAppChooser {boolean} Set to true to bypass the app chooser and go directly to dialer
|
||||
*/
|
||||
@Cordova({
|
||||
callbackOrder: 'reverse'
|
||||
})
|
||||
static callNumber(numberToCall: number, bypassAppChooser: boolean): Promise<any> {
|
||||
static callNumber(numberToCall: string, bypassAppChooser: boolean): Promise<any> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user