Lightstreamer .Net Adapter 1.10.0
ContentsIndexHome
PreviousUpNext
MpnSubscriptionInfo.MpnGcmSubscriptionInfo.MpnGcmSubscriptionInfo Constructor

Used by Lightstreamer to create an MpnGcmSubscriptionInfo instance, collecting all the details of a push notifications specification for Google's GCM.

C++
public: MpnGcmSubscriptionInfo(MpnDeviceInfo device, string collapseKey, IDictionary data, string delayWhileIdle, string timeToLive, string trigger);
C#
public MpnGcmSubscriptionInfo(MpnDeviceInfo device, string collapseKey, IDictionary data, string delayWhileIdle, string timeToLive, string trigger);
Visual Basic
Public Sub New(device As MpnDeviceInfo, collapseKey As string, data As IDictionary, delayWhileIdle As string, timeToLive As string, trigger As string)
Parameters 
Description 
MpnDeviceInfo device 
A MPN device specification. 
string collapseKey 
The key to be use to collapse multiple push notifications. 
IDictionary data 
The push notifications' payload. 
string delayWhileIdle 
If "true" the delivery of push notifications is delayed if the device is idle. 
string timeToLive 
The expiration of push notifications (in seconds). 
string trigger 
The expression the updates are checked against to trigger the notification.