BMXMessageConfig
class im.floo.floolib.BMXMessageConfig
消息配置
Index
方法
- getCPtr
- finalize
- delete
- setMentionAll
- getMentionAll
- setMentionList
- getMentionList
- setMentionedMessage
- getMentionedMessage
- setPushMessage
- getPushMessage
- setSenderNickname
- getSenderNickname
- setGroupMemberList
- getGroupMemberList
- addGroupMember
- removeGroupMember
- clearGroupMemberList
- setIOSConfig
- getIOSConfig
- setAndroidConfig
- getAndroidConfig
- setPushShowBeginTime
- getPushShowBeginTime
- setPushShowEndTime
- getPushShowEndTime
- setPushTitle
- getPushTitle
- isSilence
- getBadgeCountType
- getBadgeCount
- getUsername
- serialize
- createMessageConfig
方法
getCPtr
- protected static long getCPtr(BMXMessageConfig obj);
-
Returns long
finalize
- protected void finalize();
-
Returns void
delete
- public synchronized void delete();
-
Returns void
setMentionAll
- public void setMentionAll(boolean mentionAll);
-
设置是否@全员
Parameters-
mentionAll: boolean
Returns void -
getMentionAll
- public boolean getMentionAll();
-
获取是否@全员
Returns boolean
setMentionList
- public void setMentionList(ListOfLongLong mentionList);
-
设置通知成员id列表
Parameters-
mentionList: ListOfLongLong
Returns void -
getMentionList
- public ListOfLongLong getMentionList();
-
获取@成员列表
Returns ListOfLongLong
setMentionedMessage
- public void setMentionedMessage(String mentionedMessage);
-
设置@消息
Parameters-
mentionedMessage: String
Returns void -
getMentionedMessage
- public String getMentionedMessage();
-
获取@消息
Returns String
setPushMessage
- public void setPushMessage(String pushMessage);
-
设置推送消息
Parameters-
pushMessage: String
Returns void -
getPushMessage
- public String getPushMessage();
-
获取推送消息
Returns String
setSenderNickname
- public void setSenderNickname(String senderNickname);
-
设置发送者昵称
Parameters-
senderNickname: String
Returns void -
getSenderNickname
- public String getSenderNickname();
-
获取发送者昵称
Returns String
setGroupMemberList
- public void setGroupMemberList(ListOfLongLong groupMemberList);
-
设置需要群已读消息的群成员id列表
Parameters-
groupMemberList: ListOfLongLong
Returns void -
getGroupMemberList
- public ListOfLongLong getGroupMemberList();
-
获取需要群已读消息的群成员id列表
Returns ListOfLongLong
addGroupMember
- public void addGroupMember(long id);
-
添加群已读消息的群成员id列表成员
Returns void
removeGroupMember
- public void removeGroupMember(long id);
-
清除需要群已读消息的群成员id列表成员
Returns void
clearGroupMemberList
- public void clearGroupMemberList();
-
清空群已读消息的群成员id列表
Returns void
setIOSConfig
- public void setIOSConfig(String iosConfig);
-
Returns void
getIOSConfig
- public String getIOSConfig();
-
获取iOS消息配置
Returns String
setAndroidConfig
- public void setAndroidConfig(String androidConfig);
-
Returns void
getAndroidConfig
- public String getAndroidConfig();
-
获取Android消息配置
Returns String
setPushShowBeginTime
- public void setPushShowBeginTime(int beginTime);
-
Returns void
getPushShowBeginTime
- public int getPushShowBeginTime();
-
获取推送消息开始展示时间
Returns int
setPushShowEndTime
- public void setPushShowEndTime(int endTime);
-
Returns void
getPushShowEndTime
- public int getPushShowEndTime();
-
获取推送消息结束展示时间
Returns int
setPushTitle
- public void setPushTitle(String pushTitle);
-
Returns void
getPushTitle
- public String getPushTitle();
-
获取推送消息标题
Returns String
isSilence
- public boolean isSilence();
-
Returns boolean
getBadgeCountType
- public BMXMessageConfig.BadgeCountType getBadgeCountType();
-
Returns BadgeCountType
getBadgeCount
- public int getBadgeCount(int count);
-
Returns int
getUsername
- public String getUsername();
-
获取消息发送者用户名
Returns String
serialize
- public String serialize();
-
序列化操作
Returns String
createMessageConfig
- public static BMXMessageConfig createMessageConfig(boolean mentionAll);
-
Returns BMXMessageConfig
文档反馈
(如有产品使用问题,请 提交工单)