Click or drag to resize

IPushNotification.SendNotification 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: System.String
The device operating system.
deviceToken
Type: System.String
The device token.
message
Type: System.String
The alert message.
messageID
Type: System.Int32
The message ID.
title (Optional)
Type: System.String
The title of the default action button.
badgeNumber (Optional)
Type: System.Nullable<Int32>
The app icon badge number.
soundFile (Optional)
Type: System.String
The sound to play.
category (Optional)
Type: System.String
The category of custom actions.
androidOptions (Optional)
Type: System.Collections.Generic.Dictionary<String, String>
A collection of Android name/value pair options.
See Also