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