Beispiel #1
0
        private async void LoadAll()
        {
            await CastDiscovery.GetAllDevices();

            await CastDiscovery.LoadApp();

            this.lblLoading.Visibility  = Visibility.Collapsed;
            this.spMainPanel.Visibility = Visibility.Visible;
        }
Beispiel #2
0
 private async void btnLoadVideo_Click(object sender, RoutedEventArgs e)
 {
     await CastDiscovery.Load(txtVideoCode.Text);
 }
Beispiel #3
0
 private async void btnRewindVideo_Click(object sender, RoutedEventArgs e)
 {
     await CastDiscovery.Rewind();
 }
Beispiel #4
0
 private async void btnPauseVideo_Click(object sender, RoutedEventArgs e)
 {
     await CastDiscovery.Pause();
 }
Beispiel #5
0
 private async void btnStopVideo_Click(object sender, RoutedEventArgs e)
 {
     await CastDiscovery.Stop();
 }
Beispiel #6
0
 private async void btnPlayVideo_Click(object sender, RoutedEventArgs e)
 {
     CastDiscovery.Play();
 }