public static void RegisterWindowsService(this PushBroker broker, WindowsPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) { var service = new WindowsPushService(new WindowsPushChannelFactory(), channelSettings, serviceSettings); broker.RegisterService<WindowsRawNotification>(service); broker.RegisterService<WindowsTileNotification>(service); broker.RegisterService<WindowsToastNotification>(service); broker.RegisterService<WindowsBadgeNumericNotification>(service); broker.RegisterService<WindowsBadgeGlyphNotification>(service); }
public void StartWindowsPushService(Windows.WindowsPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) { winService = new Windows.WindowsPushService(channelSettings, serviceSettings); winService.Events.RegisterProxyHandler(this.Events); }
public void StartWindowsPushService(Windows.WindowsPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) { winService = new Windows.WindowsPushService(channelSettings, serviceSettings); winService.Events.RegisterProxyHandler(this.Events); }