Beispiel #1
0
 private static void ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     if (App.Channel != null && App.Channel.ChannelUri != null)
     {
         CurrentChannel.ChannelUri = App.Channel.ChannelUri.AbsoluteUri;
     }
 }
 /// <summary>
 /// Event handler for when the connection status changed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void PushChannel_ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Utils.Tools.LogException(String.Format("Notification Channel Connection Changed:  {0}", e.ConnectionStatus.ToString()), null);
 }
 void channel_ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Dispatcher.BeginInvoke(() => channelStatus.Text = e.ConnectionStatus.ToString());
 }
 static void channel_ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Debug.WriteLine(e.ConnectionStatus);
 }
        private void OnConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
        {
#pragma warning disable 4014
            AppContext.Debug.LogAsync(string.Format("Connection status changed to {0}.", e.ConnectionStatus));
#pragma warning restore 4014
        }
 /// <summary>
 /// Event handler for when the connection status changed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void PushChannel_ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Utils.Tools.LogException(String.Format("Notification Channel Connection Changed:  {0}", e.ConnectionStatus.ToString()), null);
 }
Beispiel #7
0
 private void OnConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Telegram.Logs.Log.Write(string.Format("PushService.OnConnectionStatusChanged status={0}", e.ConnectionStatus));
 }
Beispiel #8
0
 void channel_ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Dispatcher.BeginInvoke(() => channelStatus.Text = e.ConnectionStatus.ToString());
 }
 private void notificationChannel_ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     Debug.WriteLine("Channel connection status changed to " + e.ConnectionStatus.ToString());
 }
Beispiel #10
0
 private void HttpChannelConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     if (Channel.ConnectionStatus == ChannelConnectionStatus.Disconnected)
     {
         ReopenNotificationChannel();
     }
 }
Beispiel #11
0
 private static void ConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     if (App.Channel != null && App.Channel.ChannelUri != null)
     {
         CurrentChannel.ChannelUri = App.Channel.ChannelUri.AbsoluteUri;
     }
 }
 private void OnConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     AppContext.Debug.LogAsync(string.Format("Connection status changed to {0}.", e.ConnectionStatus));
 }
 private void OnConnectionStatusChanged(object sender, NotificationChannelConnectionEventArgs e)
 {
     AppContext.Debug.LogAsync(string.Format("Connection status changed to {0}.", e.ConnectionStatus));
 }