Skip to main content

EnsLib.PushNotifications.NotificationRequest

persistent class EnsLib.PushNotifications.NotificationRequest extends Ens.Request, EnsLib.PushNotifications.NotificationInfo

SQL Table Name: EnsLib_PushNotifications.NotificationRequest

Notification send request class for Apple Push Notification Service

Property Inventory

Parameters

parameter RESPONSECLASSNAME = EnsLib.PushNotifications.NotificationResponse;
Response class

Properties

property AppIdentifier as %String (MAXLEN = 512);
String that is only used for GCM notifications and identifies the App that the notification is associated with.
Property methods: AppIdentifierDisplayToLogical(), AppIdentifierGet(), AppIdentifierGetStored(), AppIdentifierIsValid(), AppIdentifierLogicalToDisplay(), AppIdentifierLogicalToOdbc(), AppIdentifierNormalize(), AppIdentifierSet()
property Identifiers as list of %String (MAXLEN = 512) [ Required ];
String that specifies the devices that are to get the notification. For APNS, the device is specified by a device token. For GCM, the device is specified as a registration ID.
Property methods: IdentifiersBuildValueArray(), IdentifiersCollectionToDisplay(), IdentifiersCollectionToOdbc(), IdentifiersDisplayToCollection(), IdentifiersDisplayToLogical(), IdentifiersGet(), IdentifiersGetObject(), IdentifiersGetObjectId(), IdentifiersGetStored(), IdentifiersGetSwizzled(), IdentifiersIsValid(), IdentifiersLogicalToDisplay(), IdentifiersLogicalToOdbc(), IdentifiersNormalize(), IdentifiersOdbcToCollection(), IdentifiersSet(), IdentifiersSetObject(), IdentifiersSetObjectId()
property Service as %String (DISPLAYLIST = ",Apple Push Notification Service,Google Cloud Messaging", VALUELIST = ",APNS,GCM") [ Required ];
Identifies whether the device is a GCM or APNS device.
Property methods: ServiceDisplayToLogical(), ServiceGet(), ServiceGetStored(), ServiceIsValid(), ServiceLogicalToDisplay(), ServiceLogicalToOdbc(), ServiceNormalize(), ServiceSet()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.MessageBody)

^Ens.MessageBodyD(ID)
=
%%CLASSNAME

Storage Model: Storage (EnsLib.PushNotifications.NotificationRequest)

^Ens.MessageBodyD(ID,"EnsLib.PushNotifications.NotificationRequest.Data",n)
=
Data(n)

Storage Model: Storage (EnsLib.PushNotifications.NotificationRequest)

^Ens.MessageBodyD(ID,"NotificationRequest")
=
CollapseKey
ExpiresUTC
Identifiers
AlertNotification
BadgeNotification
UrlNotification
AppIdentifier
Service
SoundNotification
FeedbackOpens in a new tab