videocall
v1.0.4
Published
Video Call from Cordova Application
Downloads
29
Maintainers
Readme
Cordova Video Call Plugin
Video Call from Cordova Application
Install the plugin using:
cordova plugin add videocall
Use the plugin in your JS file:
window.plugins.VideoCall.videoCall(onSuccess, onError, number);
Example:
window.plugins.VideoCall.videoCall(
(e: true) => {
console.log(e);
},
(e: string) => {
console.log(e);
},
13600000000
);
Make sure to create onSuccess and onError call back functions.
Example:
const onSuccess=(result:true)=>{
console.log("Success:"+result);
}
const onError=(result:string)=> {
console.log("Error:"+result);
}
const number:string="13600000000"//phone number to call;