nativescript-phone
Version:
NativeScript plugin to use the device phone and SMS features for Android and iOS
7 lines (6 loc) • 441 B
TypeScript
import { LocalEventEmitter } from './LocalEventEmitter';
export { DialEvents, SMSEvents } from './interfaces';
export declare const NSPhoneEventEmitter: LocalEventEmitter;
export declare function dial(telNum: any, prompt: any): boolean | "Application does not have permission to call directly.";
export declare function sms(smsNum: any, messageText: any): void;
export declare function requestCallPermission(explanation: any): Promise<any>;