public class ECMessageNotify
extends java.lang.Object
implements android.os.Parcelable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ECMessageNotify.NotifyType
特殊消息通知类型
|
| 限定符和类型 | 字段和说明 |
|---|---|
static android.os.Parcelable.Creator<ECMessageNotify> |
CREATOR |
| 限定符 | 构造器和说明 |
|---|---|
protected |
ECMessageNotify(ECMessageNotify.NotifyType type,
java.lang.String msgId) |
protected |
ECMessageNotify(android.os.Parcel in) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
long |
getDateCreated()
返回通知消息时间
|
java.lang.String |
getMsgId()
返回标识此消息的唯一Id
|
ECMessageNotify.NotifyType |
getNotifyType()
返回此通知消息的类型
|
void |
setDateCreated(long dateCreated)
将指定的通知消息时间更新到通知消息中
|
void |
setMsgId(java.lang.String msgId)
将指定标识此消息的唯一ID更新到通知消息中
|
void |
setNotifyType(ECMessageNotify.NotifyType notifyType)
将指定的通知消息的类型更新到通知消息中
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ECMessageNotify> CREATOR
protected ECMessageNotify(ECMessageNotify.NotifyType type, java.lang.String msgId)
protected ECMessageNotify(android.os.Parcel in)
public int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel 在接口中 android.os.Parcelablepublic java.lang.String getMsgId()
public void setMsgId(java.lang.String msgId)
msgId - 标识此消息的唯一Idpublic ECMessageNotify.NotifyType getNotifyType()
public void setNotifyType(ECMessageNotify.NotifyType notifyType)
notifyType - 通知消息的类型public long getDateCreated()
public void setDateCreated(long dateCreated)
dateCreated - 通知消息时间Copyright © 2017 All rights reserved.