RemoteNotification
public struct RemoteNotification
RemoteNotification records the information about a notification.
Version
1.5.0Date
07/05/2019-
The title of the notification.
Declaration
Swift
public let title: String? -
The content attached to the notification.
Declaration
Swift
public let body: String? -
Initialize the notification
Declaration
Swift
public init?(userInfo: [AnyHashable : Any])Parameters
userInfoThe payload received along with a notification
RemoteNotification Structure Reference