Example #1
0
        //dynamic commands
        private async Task ViewModeChangedAsync(ViewMode viewMode)
        {
            if (!CheckIsUserSpeaking(true))
            {
                return;
            }

            _viewLayoutService.ChangeViewMode(viewMode);
            await _viewLayoutService.LaunchLayout();
        }
Example #2
0
        private async Task SetAverageLayoutAsync()
        {
            _viewLayoutService.ChangeViewMode(ViewMode.Average);
            await _viewLayoutService.LaunchLayout();

            _layoutView.Close();
        }