Using the SDK to send a notification

The Notification Hub SDK brings many different methods for sending notifications, depending on the configuration and expected output. Here you can find all the methods available in the SDK:

hub.SendAdmNativeNotificationAsync();hub.SendAppleNativeNotificationAsync();hub.SendBaiduNativeNotificationAsync();hub.SendDirectNotificationAsync();hub.SendNotificationAsync();hub.SendTemplateNotificationAsync();hub.SendGcmNativeNotificationAsync();hub.SendWindowsNativeNotificationAsync();

As you can see, we have two different categories:

  • Native notifications: Methods for sending a notification to a specific platform only
  • Generic notifications: A set of methods for sending a notification to a specific tag

I strongly ...

Get Hands-On Azure for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.