-
public final class PushPayloadPush notification payload.
-
-
Constructor Summary
Constructors Constructor Description PushPayload(String pushId, String title, String body, String imageUrl, Map<String, Object> data, PushAction action, List<PushActionButton> actions)
-
Method Summary
Modifier and Type Method Description final StringgetPushId()final StringgetTitle()final StringgetBody()final StringgetImageUrl()final Map<String, Object>getData()final PushActiongetAction()final List<PushActionButton>getActions()SPEC-070-B — every action button registered on this notification, in tray order. -
-
Constructor Detail
-
PushPayload
PushPayload(String pushId, String title, String body, String imageUrl, Map<String, Object> data, PushAction action, List<PushActionButton> actions)
-
-
Method Detail
-
getImageUrl
final String getImageUrl()
-
getAction
final PushAction getAction()
-
getActions
final List<PushActionButton> getActions()
SPEC-070-B — every action button registered on this notification, in tray order.
actionabove is only the notification's single primary action, so a push carrying three buttons reached the host delegate looking identical to one carrying none. Hosts (and the Flutter/RN wrappers) can now see the buttons the SDK actually registered.
-
-
-
-