상속: BaseMediaController
 public static async Task<YouTubeController> LaunchYouTube(this ChromeCastClient client)
 {
     client.Channels.Add(new YouTubeChannel(client));
     var controller = new YouTubeController(client);
     await controller.LaunchApplication();
     return controller;
 }
예제 #2
0
        public static async Task <YouTubeController> LaunchYouTube(this ChromeCastClient client)
        {
            client.MakeSureChannelExist(new YouTubeChannel(client));
            var controller = new YouTubeController(client);
            await controller.LaunchApplication();

            return(controller);
        }