IPushNotificationSendNotification Method |
Sends a notification to the specified device.
Namespace:
NetQuarry.Services
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void SendNotification(
string deviceOS,
string deviceToken,
string message,
int messageID,
string title = null,
Nullable<int> badgeNumber = null,
string soundFile = null,
string category = null,
Dictionary<string, string> androidOptions = null
)
Sub SendNotification (
deviceOS As String,
deviceToken As String,
message As String,
messageID As Integer,
Optional title As String = Nothing,
Optional badgeNumber As Nullable(Of Integer) = Nothing,
Optional soundFile As String = Nothing,
Optional category As String = Nothing,
Optional androidOptions As Dictionary(Of String, String) = Nothing
)
Parameters
- deviceOS
- Type: SystemString
The device operating system. - deviceToken
- Type: SystemString
The device token. - message
- Type: SystemString
The alert message. - messageID
- Type: SystemInt32
The message ID. - title (Optional)
- Type: SystemString
The title of the default action button. - badgeNumber (Optional)
- Type: SystemNullableInt32
The app icon badge number. - soundFile (Optional)
- Type: SystemString
The sound to play. - category (Optional)
- Type: SystemString
The category of custom actions. - androidOptions (Optional)
- Type: System.Collections.GenericDictionaryString, String
A collection of Android name/value pair options.
See Also