Пример #1
0
 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);
        }
Пример #3
0
        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());
        }
Пример #4
0
 public MainPageViewModel()
 {
     zoomService = DependencyService.Get <IZoomService>();
     zoomService.InitZoomLib("rsdFnExcx1Hzv3TRthDCxo7osS2ZXXaNJ9Yi", "TSyXY3XRCY3ZoCFsLUZkDrcdhciVjTkRD77m");
     JoinMeetingCommand = new Command(JoinMeeting);
 }
Пример #5
0
 public MainPage()
 {
     InitializeComponent();
     zoomService = DependencyService.Get <IZoomService>();
     zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret);
 }
Пример #6
0
 public MainViewModel()
 {
     zoomService = DependencyService.Get <IZoomService>();
     zoomService.InitZoomLib(Constants.AppKey, Constants.AppSecret);
 }