This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

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);
App Identifier (not used by APNS)
Property methods: AppIdentifierDisplayToLogical(), AppIdentifierGet(), AppIdentifierGetStored(), AppIdentifierIsValid(), AppIdentifierLogicalToDisplay(), AppIdentifierLogicalToOdbc(), AppIdentifierNormalize(), AppIdentifierSet()
property Identifiers as list of %String (MAXLEN = 512) [ Required ];
Device Identifier (i.e. DeviceToken, or 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 ];
Service type descriptor
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: CacheStorage (Ens.MessageBody)

^Ens.MessageBodyD(ID)
=
%%CLASSNAME

Storage Model: CacheStorage (EnsLib.PushNotifications.NotificationRequest)

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

Storage Model: CacheStorage (EnsLib.PushNotifications.NotificationRequest)

^Ens.MessageBodyD(ID,"NotificationRequest")
=
CollapseKey
ExpiresUTC
Identifiers
AlertNotification
BadgeNotification
UrlNotification
AppIdentifier
Service
SoundNotification
Feedback