DownloadAndPlaySample() public method

public DownloadAndPlaySample ( string artist, string title ) : Task
artist string
title string
return Task
コード例 #1
0
        private async void Page_Loaded(object sender, RoutedEventArgs e) {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled = true;
            MpcConfigBusiness.IsMadvrEnabled = true;
            MpcConfigBusiness.IsWidescreenEnabled = false;
            await owner.DownloadAndPlaySample("Ellie Goulding", "Burn");
        }
コード例 #2
0
        private async void Page_Loaded(object sender, RoutedEventArgs e)
        {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled        = true;
            MpcConfigBusiness.IsMadvrEnabled      = true;
            MpcConfigBusiness.IsWidescreenEnabled = false;
            await owner.DownloadAndPlaySample("Ellie Goulding", "Burn");
        }
コード例 #3
0
        private async void Page_Loaded(object sender, RoutedEventArgs e) {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled = true;
            MpcConfigBusiness.IsMadvrEnabled = false;
            await owner.DownloadAndPlaySample("Girls' Generation", "Sexy Dance");

            //EditVideoBusiness FindVideoBusiness = new EditVideoBusiness();
            //Media Sample = FindVideoBusiness.GetVideoByTitle(MediaType.Video, "Girls' Generation", "Sexy Dance");
            //if (Sample != null) {
            //    await DownloadAndPlaySample(Sample);
            //}
        }
コード例 #4
0
        private async void Page_Loaded(object sender, RoutedEventArgs e)
        {
            owner = (SetupWizard)Window.GetWindow(this);

            MpcConfigBusiness.IsSvpEnabled   = true;
            MpcConfigBusiness.IsMadvrEnabled = false;
            await owner.DownloadAndPlaySample("Girls' Generation", "Sexy Dance");

            //EditVideoBusiness FindVideoBusiness = new EditVideoBusiness();
            //Media Sample = FindVideoBusiness.GetVideoByTitle(MediaType.Video, "Girls' Generation", "Sexy Dance");
            //if (Sample != null) {
            //    await DownloadAndPlaySample(Sample);
            //}
        }