Class PushNotificationMessage
java.lang.Object
org.openremote.model.notification.AbstractNotificationMessage
org.openremote.model.notification.PushNotificationMessage
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PushNotificationAction
protected String
protected List
<PushNotificationButton> protected PushNotificationMessage.MessagePriority
protected String
protected PushNotificationMessage.TargetType
protected String
protected Long
static final String
Fields inherited from class org.openremote.model.notification.AbstractNotificationMessage
type
-
Constructor Summary
ConstructorsConstructorDescriptionPushNotificationMessage
(String title, String body, PushNotificationAction action, List<PushNotificationButton> buttons, Map<String, Object> data) PushNotificationMessage
(String title, String body, PushNotificationAction action, List<PushNotificationButton> buttons, Map<String, Object> data, PushNotificationMessage.MessagePriority priority, PushNotificationMessage.TargetType targetType, String target, Long ttlSeconds) -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
getData()
getTitle()
setAction
(PushNotificationAction action) setButtons
(List<PushNotificationButton> buttons) setTargetType
(PushNotificationMessage.TargetType targetType) setTtlSeconds
(Long ttlSeconds) toString()
Methods inherited from class org.openremote.model.notification.AbstractNotificationMessage
getType
-
Field Details
-
TYPE
- See Also:
-
title
-
body
-
action
-
buttons
-
data
-
priority
-
targetType
-
target
-
ttlSeconds
-
-
Constructor Details
-
PushNotificationMessage
public PushNotificationMessage(String title, String body, PushNotificationAction action, List<PushNotificationButton> buttons, Map<String, Object> data, PushNotificationMessage.MessagePriority priority, PushNotificationMessage.TargetType targetType, String target, Long ttlSeconds) -
PushNotificationMessage
public PushNotificationMessage(String title, String body, PushNotificationAction action, List<PushNotificationButton> buttons, Map<String, Object> data) -
PushNotificationMessage
public PushNotificationMessage()
-
-
Method Details