public class SignallingPushConfig
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SignallingPushConfig(boolean needPush,
java.lang.String pushTitle,
java.lang.String pushContent) |
SignallingPushConfig(boolean needPush,
java.lang.String pushTitle,
java.lang.String pushContent,
java.util.Map<java.lang.String,java.lang.Object> pushPayload) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPushContent()
Get the push content
|
java.lang.String |
getPushPayload()
Get the push payload
|
java.lang.String |
getPushTitle()
Get the title of a push notification
|
boolean |
needPush()
Check if push is required
|
public SignallingPushConfig(boolean needPush, java.lang.String pushTitle, java.lang.String pushContent)
needPush
- enable or disable pushpushTitle
- push titlepushContent
- The content of a push notificationpublic SignallingPushConfig(boolean needPush, java.lang.String pushTitle, java.lang.String pushContent, java.util.Map<java.lang.String,java.lang.Object> pushPayload)
needPush
- enable or disable pushpushTitle
- push titlepushContent
- The content of a push notificationpushPayload
- Push payload. Set the value to null if not neededpublic boolean needPush()
public java.lang.String getPushTitle()
public java.lang.String getPushContent()
public java.lang.String getPushPayload()