im::floo::floolib::BMXMessageConfig

消息配置

Inherits from BMXBaseObject

Public Functions

Name
synchronized void delete()
void setMentionAll(boolean mentionAll)<br>设置是否@全员
boolean getMentionAll()<br>获取是否@全员
void setMentionList(ListOfLongLong mentionList)
设置通知成员id列表
ListOfLongLong getMentionList()<br>获取@成员列表
void setMentionedMessage(String mentionedMessage)<br>设置@消息
String getMentionedMessage()<br>获取@消息
void setPushMessage(String pushMessage)
设置推送消息
String getPushMessage()
获取推送消息
void setSenderNickname(String senderNickname)
设置发送者昵称
String getSenderNickname()
获取发送者昵称
void setGroupMemberList(ListOfLongLong groupMemberList)
设置需要群已读消息的群成员id列表
ListOfLongLong getGroupMemberList()
获取需要群已读消息的群成员id列表
void addGroupMember(long id)
添加群已读消息的群成员id列表成员
void removeGroupMember(long id)
清除需要群已读消息的群成员id列表成员
void clearGroupMemberList()
清空群已读消息的群成员id列表
void setIOSConfig(String iosConfig)
String getIOSConfig()
获取iOS消息配置
void setAndroidConfig(String androidConfig)
String getAndroidConfig()
获取Android消息配置
void setPushShowBeginTime(int beginTime)
int getPushShowBeginTime()
获取推送消息开始展示时间
void setPushShowEndTime(int endTime)
int getPushShowEndTime()
获取推送消息结束展示时间
void setPushTitle(String pushTitle)
String getPushTitle()
获取推送消息标题
boolean isSilence()
BMXMessageConfig.BadgeCountType getBadgeCountType()
int getBadgeCount(int count)
String getUsername()
获取消息发送者用户名
String serialize()
序列化操作
BMXMessageConfig createMessageConfig(boolean mentionAll)

Protected Functions

Name
BMXMessageConfig(long cPtr, boolean cMemoryOwn)
void finalize()
long getCPtr(BMXMessageConfig obj)

Public Functions Documentation

function delete

inline synchronized void delete()

function setMentionAll

inline void setMentionAll(
    boolean mentionAll
)

设置是否@全员

Parameters:

  • mentionAll

function getMentionAll

inline boolean getMentionAll()

获取是否@全员

Return: bool

function setMentionList

inline void setMentionList(
    ListOfLongLong mentionList
)

设置通知成员id列表

Parameters:

  • mentionList

function getMentionList

inline ListOfLongLong getMentionList()

获取@成员列表

Return: std::vector

function setMentionedMessage

inline void setMentionedMessage(
    String mentionedMessage
)

设置@消息

Parameters:

  • mentionedMessage

function getMentionedMessage

inline String getMentionedMessage()

获取@消息

Return: std::string

function setPushMessage

inline void setPushMessage(
    String pushMessage
)

设置推送消息

Parameters:

  • pushMessage

function getPushMessage

inline String getPushMessage()

获取推送消息

Return: std::string

function setSenderNickname

inline void setSenderNickname(
    String senderNickname
)

设置发送者昵称

Parameters:

  • senderNickname

function getSenderNickname

inline String getSenderNickname()

获取发送者昵称

Return: std::string

function setGroupMemberList

inline void setGroupMemberList(
    ListOfLongLong groupMemberList
)

设置需要群已读消息的群成员id列表

Parameters:

  • groupMemberList

function getGroupMemberList

inline ListOfLongLong getGroupMemberList()

获取需要群已读消息的群成员id列表

Return: std::vector

function addGroupMember

inline void addGroupMember(
    long id
)

添加群已读消息的群成员id列表成员

function removeGroupMember

inline void removeGroupMember(
    long id
)

清除需要群已读消息的群成员id列表成员

function clearGroupMemberList

inline void clearGroupMemberList()

清空群已读消息的群成员id列表

function setIOSConfig

inline void setIOSConfig(
    String iosConfig
)

function getIOSConfig

inline String getIOSConfig()

获取iOS消息配置

function setAndroidConfig

inline void setAndroidConfig(
    String androidConfig
)

function getAndroidConfig

inline String getAndroidConfig()

获取Android消息配置

function setPushShowBeginTime

inline void setPushShowBeginTime(
    int beginTime
)

function getPushShowBeginTime

inline int getPushShowBeginTime()

获取推送消息开始展示时间

function setPushShowEndTime

inline void setPushShowEndTime(
    int endTime
)

function getPushShowEndTime

inline int getPushShowEndTime()

获取推送消息结束展示时间

function setPushTitle

inline void setPushTitle(
    String pushTitle
)

function getPushTitle

inline String getPushTitle()

获取推送消息标题

function isSilence

inline boolean isSilence()

function getBadgeCountType

inline BMXMessageConfig.BadgeCountType getBadgeCountType()

function getBadgeCount

inline int getBadgeCount(
    int count
)

function getUsername

inline String getUsername()

获取消息发送者用户名

function serialize

inline String serialize()

序列化操作

Return: std::string

function createMessageConfig

static inline BMXMessageConfig createMessageConfig(
    boolean mentionAll
)

Protected Functions Documentation

function BMXMessageConfig

inline BMXMessageConfig(
    long cPtr,
    boolean cMemoryOwn
)

function finalize

inline void finalize()

function getCPtr

static inline long getCPtr(
    BMXMessageConfig obj
)

Updated on 2022-01-26 at 17:18:31 +0800

© 2019-2022 美信拓扑 | 官网 该文件修订时间: 2022-03-07 03:07:24

results matching ""

    No results matching ""