Class Info |
|---|
public class AppMessage 消息对象。 |
Qualifier and Type | Method Name and Description |
|---|---|
long | getId() 获取消息id。 |
| 获取消息类型。 | |
long | 获取消息的开始时间戳。 |
long | 获取消息的结束时间戳。 |
int | 获取消息的展示频率。 |
int | 获取消息的展示次数。 |
int | 获取是否是测试消息。 |
java.util.List<String> | 获取触发消息的事件id。 |
Method |
|---|
public abstract MessageType getMessageType() 获取消息类型。 |
Return
Type | Description |
|---|---|
消息类型,取值为:BANNER、CARD、PICTURE。 |
Method |
|---|
public long getStartTime() 获取消息的开始时间戳。 |
Return
Type | Description |
|---|---|
long | 消息的开始时间戳,单位毫秒。 |
Method |
|---|
public long getEndTime() 获取消息的结束时间戳。 |
Return
Type | Description |
|---|---|
long | 消息的结束时间戳,单位毫秒。 |
Method |
|---|
public int getFrequencyType() 获取消息的展示频率。 |
Return
Type | Description |
|---|---|
int | 消息的展示频率。
|
Method |
|---|
public int getFrequencyValue() 获取消息的展示次数。 |
Return
Type | Description |
|---|---|
int | 消息展示的次数,仅当getFrequencyType为2和3时有效。 |