Exemple #1
0
        public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            BusyIndicatorView bi = new BusyIndicatorView();

            bi.ShowDialog();

            return(Result.Succeeded);
        }
Exemple #2
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     NavigationController.NavigationBarHidden = true;
     RoomNameLabel.Text = OpentokSettings.Current.RoomName;
     BackgroundTap.ShouldRequireFailureOfGestureRecognizer(BackgroundDoubleTap);
     BusyIndicatorView.StartAnimating();
     _opentokService = OpentokStreamingService.Instance;
     StartSessionAsync();
     _opentokService.OnPublishStarted += () => { VideoMuted = false; };
     _opentokService.OnSessionEnded   += () => { LeaveChannel(); };
 }
        void ReleaseDesignerOutlets()
        {
            if (BackgroundDoubleTap != null)
            {
                BackgroundDoubleTap.Dispose();
                BackgroundDoubleTap = null;
            }

            if (BackgroundTap != null)
            {
                BackgroundTap.Dispose();
                BackgroundTap = null;
            }

            if (ContainerView != null)
            {
                ContainerView.Dispose();
                ContainerView = null;
            }

            if (EndCallButton != null)
            {
                EndCallButton.Dispose();
                EndCallButton = null;
            }

            if (BusyViewLayer != null)
            {
                BusyViewLayer.Dispose();
                BusyViewLayer = null;
            }

            if (BusyTextView != null)
            {
                BusyTextView.Dispose();
                BusyTextView = null;
            }

            if (BusyIndicatorView != null)
            {
                BusyIndicatorView.Dispose();
                BusyIndicatorView = null;
            }

            if (LocalVideoHeight != null)
            {
                LocalVideoHeight.Dispose();
                LocalVideoHeight = null;
            }

            if (LocalVideoWidth != null)
            {
                LocalVideoWidth.Dispose();
                LocalVideoWidth = null;
            }

            if (LocalView != null)
            {
                LocalView.Dispose();
                LocalView = null;
            }

            if (MutedView != null)
            {
                MutedView.Dispose();
                MutedView = null;
            }

            if (RoomNameLabel != null)
            {
                RoomNameLabel.Dispose();
                RoomNameLabel = null;
            }

            if (SwitchCamButton != null)
            {
                SwitchCamButton.Dispose();
                SwitchCamButton = null;
            }

            if (ToggleAudioButton != null)
            {
                ToggleAudioButton.Dispose();
                ToggleAudioButton = null;
            }

            if (ToggleCamButton != null)
            {
                ToggleCamButton.Dispose();
                ToggleCamButton = null;
            }
        }