private async Task UpdateResolution(RemoteResolutionModel resolution)
        {
            if (resolution == null)
            {
                return;
            }

            await Dispatch(() =>
            {
                var found = ((IEnumerable <VideoCameraResolutionModel>)_model.Resolutions.Source).FirstOrDefault(x => x.ToString() == resolution.Name);

                if (found != null)
                {
                    _model.SelectedResolution.Value = found;
                }
            });
        }
Ejemplo n.º 2
0
 public async Task UpdateResolution(RemoteResolutionModel resolution)
 {
     await _sender.IssueCommand(new UpdateResolutionCommand(resolution));
 }