public class SignallingPushConfig
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 类和说明 |
---|---|
static class |
SignallingPushConfig.SignallingPushConfigBuilder |
构造器和说明 |
---|
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) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getPushContent()
获取推送内容
|
java.lang.String |
getPushPayload()
获取推送扩展
|
java.lang.String |
getPushTitle()
获取推送标题
|
boolean |
needBadge() |
boolean |
needPush()
是否需要push
|
public SignallingPushConfig(boolean needPush, java.lang.String pushTitle, java.lang.String pushContent)
needPush
- 是否需要pushpushTitle
- 推送标题pushContent
- 推送内容public SignallingPushConfig(boolean needPush, java.lang.String pushTitle, java.lang.String pushContent, java.util.Map<java.lang.String,java.lang.Object> pushPayload)
needPush
- 是否需要pushpushTitle
- 推送标题pushContent
- 推送内容pushPayload
- 推送扩展 ,不需要的话填null