Ejemplo n.º 1
0
        public GcmPushChannel(GcmPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) : base(channelSettings, serviceSettings)
        {
            gcmSettings = channelSettings;

            transport = new GcmMessageTransportAsync();

            transport.MessageResponseReceived += new Action <GcmMessageTransportResponse>(transport_MessageResponseReceived);

            transport.UnhandledException += new Action <GcmNotification, Exception>(transport_UnhandledException);
        }
Ejemplo n.º 2
0
        public GcmPushChannel(GcmPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null)
            : base(channelSettings, serviceSettings)
        {
            gcmSettings = channelSettings;

            transport = new GcmMessageTransportAsync();

            transport.MessageResponseReceived += new Action<GcmMessageTransportResponse>(transport_MessageResponseReceived);

            transport.UnhandledException += new Action<GcmNotification, Exception>(transport_UnhandledException);
        }