Click or drag to resize

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
)

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