public ChromePushChannel(ChromePushChannelSettings channelSettings) { Expires = DateTime.UtcNow.AddYears(-1); AccessToken = string.Empty; chromeSettings = channelSettings as ChromePushChannelSettings; }
public static void RegisterChromeGcmService(this PushBroker broker, ChromePushChannelSettings channelSettings, IPushServiceSettings serviceSettings = null) { RegisterChromeGcmService (broker, channelSettings, null, serviceSettings); }
public static void RegisterChromeGcmService(this PushBroker broker, ChromePushChannelSettings channelSettings, string applicationId = null, IPushServiceSettings serviceSettings = null) { broker.RegisterService<ChromeNotification>(new ChromePushService(channelSettings, serviceSettings), applicationId); }
public ChromePushService(ChromePushChannelSettings channelSettings) : this(default(IPushChannelFactory), channelSettings, default(IPushServiceSettings)) { }
public ChromePushService(IPushChannelFactory pushChannelFactory, ChromePushChannelSettings channelSettings, IPushServiceSettings serviceSettings) : base(pushChannelFactory ?? new GcmPushChannelFactory(), channelSettings, serviceSettings) { }