示例#1
0
 public static async void Start()
 {
     if (null == s_radioManager)
     {
         s_radioManager = new RadioManager();
         await s_radioManager.Initialize(InternetRadioConfig.GetDefault());
     }
 }
示例#2
0
        public async void Run(IBackgroundTaskInstance taskInstance)
        {
            deferral = taskInstance.GetDeferral();
            taskInstance.Canceled += TaskInstance_Canceled;

            if (null == s_radioManager)
            {
                s_radioManager = new RadioManager();
                await s_radioManager.Initialize(InternetRadioConfig.GetDefault());
            }
        }
示例#3
0
        public async void Run(IBackgroundTaskInstance taskInstance)
        {
            WriteTelemetryEvent("App_Startup");

            deferral = taskInstance.GetDeferral();
            taskInstance.Canceled += TaskInstance_Canceled;

            if (null == s_radioManager)
            {
                s_radioManager = new RadioManager();
                await s_radioManager.Initialize();
            }

        }
示例#4
0
 public MainPage()
 {
     this.InitializeComponent();
     this.radioManager = new RadioManager();
 }
示例#5
0
 public MainPage()
 {
     this.InitializeComponent();
     this.radioManager = new RadioManager();
 }