Notification
public protocol Notification : CustomStringConvertible
Undocumented
-
Unique ID of this notification
Declaration
Swift
var id : String -
Notification subject
Declaration
Swift
var subject : String -
Notification content
Declaration
Swift
var content : String -
Code associated with this notification. Code <= 100 indicate system notifications. For more info, please check the following link: https://heroiclabs.com/docs/social-in-app-notifications/#notification-codes
Declaration
Swift
var code : Int -
Sender ID of this notifications. If this notification is a system generated notification, a sender ID would not be set.
Declaration
Swift
var senderID : String? -
When this notification was created
Declaration
Swift
var createdAt : Int -
When this notification will expire
Declaration
Swift
var expiresAt : Int -
If this notification is persisted to the database for later retrieval.
Declaration
Swift
var persistent : Bool
View on GitHub
Install in Dash
Notification Protocol Reference