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; } }); }
public async Task UpdateResolution(RemoteResolutionModel resolution) { await _sender.IssueCommand(new UpdateResolutionCommand(resolution)); }