NotificationHubClient.SendAdmNativeNotificationAsync
Method
Definition
Overloads
| SendAdmNativeNotificationAsync(String) |
Sends the Amazon Device Messaging (ADM) native notification. |
| SendAdmNativeNotificationAsync(String, IEnumerable<String>) |
Sends the Amazon Device Messaging (ADM) native notification. |
| SendAdmNativeNotificationAsync(String, String) |
Sends the Amazon Device Messaging (ADM) native notification. |
SendAdmNativeNotificationAsync(String)
Sends the Amazon Device Messaging (ADM) native notification.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendAdmNativeNotificationAsync (string jsonPayload);
NotificationOutcome which describes the result of the Send operation.
SendAdmNativeNotificationAsync(String, IEnumerable<String>)
Sends the Amazon Device Messaging (ADM) native notification.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendAdmNativeNotificationAsync (string jsonPayload, System.Collections.Generic.IEnumerable<string> tags);
- tags
- IEnumerable<String>
A non-empty set of tags (maximum 20 tags). Each string in the set can contain a single tag.
NotificationOutcome which describes the result of the Send operation.
SendAdmNativeNotificationAsync(String, String)
Sends the Amazon Device Messaging (ADM) native notification.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationOutcome> SendAdmNativeNotificationAsync (string jsonPayload, string tagExpression);
- tagExpression
- String
A tag expression is any boolean expression constructed using the logical operators AND (&&), OR (||), NOT (!), and round parentheses. For example: (A || B) && !C. If an expression uses only ORs, it can contain at most 20 tags. Other expressions are limited to 6 tags. Note that a single tag "A" is a valid expression.
NotificationOutcome which describes the result of the Send operation.