Packagecom.tuarua.onesignal
Classpublic class OSNotification
InheritanceOSNotification Inheritance Object

The notification the user received



Public Properties
 PropertyDefined By
  androidNotificationId : Number
Android notification id.
OSNotification
  displayType : uint
OSNotification
  groupedNotifications : Vector.<OSNotificationPayload>
Will be set if a summary notification is opened.
OSNotification
  isAppInFocus : Boolean
Is app Active.
OSNotification
  payload : OSNotificationPayload
Notification payload received from OneSignal
OSNotification
  shown : Boolean
Was it displayed to the user.
OSNotification
Public Methods
 MethodDefined By
  
OSNotification
Property Detail
androidNotificationIdproperty
public var androidNotificationId:Number

Android notification id. Can later be used to dismiss the notification programmatically.

displayTypeproperty 
public var displayType:uint

groupedNotificationsproperty 
public var groupedNotifications:Vector.<OSNotificationPayload>

Will be set if a summary notification is opened. The payload will be the most recent notification received.

isAppInFocusproperty 
public var isAppInFocus:Boolean

Is app Active.

payloadproperty 
public var payload:OSNotificationPayload

Notification payload received from OneSignal

shownproperty 
public var shown:Boolean

Was it displayed to the user.

Constructor Detail
OSNotification()Constructor
public function OSNotification()