C# Класс Telegram.Notifications.NotificationManager

Показать файл Открыть проект

Открытые методы

Метод Описание
RegisterPushNotifications ( ) : System.Threading.Tasks.Task
UnregisterPushNotifications ( ) : System.Threading.Tasks.Task

Приватные методы

Метод Описание
HttpNotificationReceived ( object sender, HttpNotificationEventArgs httpNotificationEventArgs ) : void
PushChannel_ChannelUriUpdated ( object sender, NotificationChannelUriEventArgs e ) : void

Event handler for when the push channel Uri is updated.

PushChannel_ErrorOccurred ( object sender, NotificationChannelErrorEventArgs e ) : void

Event handler for when a push notification error occurs.

PushChannel_ShellToastNotificationReceived ( object sender, NotificationEventArgs e ) : void

Event handler for when a toast notification arrives while your application is running. The toast will not display if your application is running so you must add this event handler if you want to do something with the toast notification.

Описание методов

RegisterPushNotifications() публичный Метод

public RegisterPushNotifications ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

UnregisterPushNotifications() публичный Метод

public UnregisterPushNotifications ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task