Example #1
0
        public void GotoVodViewer(TopStreamResult stream)
        {
            if (stream?.LivestreamModel == null)
            {
                return;
            }

            navigationService.NavigateTo <VodListViewModel>(vm =>
            {
                vm.SelectedApiClient = stream.LivestreamModel.ApiClient;
                vm.StreamId          = stream.LivestreamModel.Id;
            });
        }
        public void GotoVodViewer()
        {
            var stream = StreamsModel.SelectedLivestream;

            if (stream == null || !stream.ApiClient.HasVodViewerSupport)
            {
                return;
            }

            navigationService.NavigateTo <VodListViewModel>(vm =>
            {
                vm.SelectedApiClient = stream.ApiClient;
                vm.StreamId          = stream.Id;
            });
        }
 public void GotoTopStreams()
 {
     navigationService.NavigateTo <TopStreamsViewModel>();
 }