PushNotification

private constructor(mechanismUID: String, messageId: String, message: String, challenge: String, amlbCookie: String, timeAdded: Calendar, timeExpired: Calendar, ttl: Long, approved: Boolean, pending: Boolean, customPayload: String, numbersChallenge: String, contextInfo: String, pushType: PushType)

Creates the PushNotification object with given data

Parameters

mechanismUID

Mechanism UUID associated with the PushNotification

messageId

message identifier from the notification payload

message

message from the notification payload

challenge

challenge from message payload

amlbCookie

load balance cookie from OpenAM

timeAdded

Date when the notification is delivered

timeExpired

Date when the notification was expired

ttl

time-to-live value from message payload

approved

boolean indicator of whether notification is still pending or not

pending

boolean indicator of whether notification is approved or not

customPayload

JSON String containing the custom attributes

numbersChallenge

numbers used in the push challenge

contextInfo

contextual information, such as location

pushType

the type of push notification