public MainViewModel() { zoomService = DependencyService.Get <IZoomService>(); zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret); JoinMeetingCommand = new Command(JoinAction); EndMeetingCommand = new Command(EndMeetingAction); }
public LoginViewModel() { zoomService = DependencyService.Get <IZoomService>(); if (!zoomService.IsInitialized()) { zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret); } LoginWithEmailCommand = new Command(LoginWithEmailAction); ListMeetingCommand = new Command(ListMeetingAction); }
protected override void OnCreate(Bundle savedInstanceState) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(savedInstanceState); Xamarin.Essentials.Platform.Init(this, savedInstanceState); global::Xamarin.Forms.Forms.Init(this, savedInstanceState); zoomService = DependencyService.Get <IZoomService>(); zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret); LoadApplication(new App()); }
public MainPageViewModel() { zoomService = DependencyService.Get <IZoomService>(); zoomService.InitZoomLib("rsdFnExcx1Hzv3TRthDCxo7osS2ZXXaNJ9Yi", "TSyXY3XRCY3ZoCFsLUZkDrcdhciVjTkRD77m"); JoinMeetingCommand = new Command(JoinMeeting); }
public MainPage() { InitializeComponent(); zoomService = DependencyService.Get <IZoomService>(); zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret); }
public MainViewModel() { zoomService = DependencyService.Get <IZoomService>(); zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret); }