private async void LoadAll() { await CastDiscovery.GetAllDevices(); await CastDiscovery.LoadApp(); this.lblLoading.Visibility = Visibility.Collapsed; this.spMainPanel.Visibility = Visibility.Visible; }
private async void btnLoadVideo_Click(object sender, RoutedEventArgs e) { await CastDiscovery.Load(txtVideoCode.Text); }
private async void btnRewindVideo_Click(object sender, RoutedEventArgs e) { await CastDiscovery.Rewind(); }
private async void btnPauseVideo_Click(object sender, RoutedEventArgs e) { await CastDiscovery.Pause(); }
private async void btnStopVideo_Click(object sender, RoutedEventArgs e) { await CastDiscovery.Stop(); }
private async void btnPlayVideo_Click(object sender, RoutedEventArgs e) { CastDiscovery.Play(); }