import { Zoom } from '@ionic-native/zoom';
constructor(private zoomService: Zoom) { }
...
this.zoomService.initialize(API_KEY, API_SECRET)
.then((success: any) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.login(userName, password)
.then((success: any) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.logout()
.then((success: boolean) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.isLoggedIn()
.then((success: boolean) => console.log(success))
.catch((error: any) => console.log(error));
let options = {
"no_driving_mode":true,
"no_invite":true,
"no_meeting_end_message":true,
"no_titlebar":false,
"no_bottom_toolbar":false,
"no_dial_in_via_phone":true,
"no_dial_out_to_phone":true,
"no_disconnect_audio":true,
"no_share":true,
"no_audio":true,
"no_video":true,
"no_meeting_error_message":true
};
this.zoomService.joinMeeting(meetingNumber, meetingPassword, displayName, options)
.then((success: any) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.startMeetingWithZAK(meetingNumber, displayName, zoomToken, zoomAccessToken, userId, options)
.then((success: any) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.startMeeting(meetingNumber, vanityId, options)
.then((success: any) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.startInstantMeeting()
.then((success: anu) => console.log(success))
.catch((error: any) => console.log(error));
this.zoomService.setLanguage("en-US")
.then((success: any) => console.log(success))
.catch((error: any) => console.log(error));