PushNotification Constructors
The following are the constructors for PushNotification.
-
Creates a new instance of the
Messaging.PushNotificationclass. -
Creates a new instance of the
Messaging.PushNotificationclass using the specified payload parameters as key-value pairs. When you use this constructor, you don’t need to callsetPayloadto set the payload.