Public 成员函数 | |
| EMContact (String username) | |
| void | setUsername (String username) |
| String | getUsername () |
| void | setRemark (String remark) |
| String | getRemark () |
| EMUserInfo | getUserInfo () |
| long | getAddTimestamp () |
Protected 属性 | |
| String | username |
EMContact 代表联系人对象。
| com.hyphenate.chat.EMContact.EMContact | ( | String | username | ) |
由用户 ID 构造 EMContact 对象。
| long com.hyphenate.chat.EMContact.getAddTimestamp | ( | ) |
获取联系人添加时间。 单位为毫秒。
0。 | String com.hyphenate.chat.EMContact.getRemark | ( | ) |
获取该联系人的备注。
| EMUserInfo com.hyphenate.chat.EMContact.getUserInfo | ( | ) |
获取该联系人的用户信息。
| String com.hyphenate.chat.EMContact.getUsername | ( | ) |
获取此联系人的用户 ID。
| void com.hyphenate.chat.EMContact.setRemark | ( | String | remark | ) |
设置该联系人的备注。
| remark | 联系人备注。 |
| void com.hyphenate.chat.EMContact.setUsername | ( | String | username | ) |
| username | 用户 ID。 |
|
protected |
此用户的唯一标示名, 即用户的 ID。