Package | com.tuarua.onesignal |
Class | public class OSNotification |
Inheritance | OSNotification ![]() |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
OSNotification |
androidNotificationId | property |
public var androidNotificationId:Number
Android notification id. Can later be used to dismiss the notification programmatically.
displayType | property |
public var displayType:uint
groupedNotifications | property |
public var groupedNotifications:Vector.<OSNotificationPayload>
Will be set if a summary notification is opened. The payload will be the most recent notification received.
isAppInFocus | property |
public var isAppInFocus:Boolean
Is app Active.
payload | property |
public var payload:OSNotificationPayload
Notification payload received from OneSignal
shown | property |
public var shown:Boolean
Was it displayed to the user.
OSNotification | () | Constructor |
public function OSNotification()