new EMCursorResult(cursor, type)
- Source:
Easemob EMCursorResult implementation.
{
GROUP = 0, //cursor store EMGroup list.
CHATROOM = 1, //cursor store EMChatroom list.
MESSAGE = 2, //cursor store EMMessage list.
}
Parameters:
Name | Type | Description |
---|---|---|
cursor |
String | |
type |
Number |
Methods
nextPageCursor() → {String}
- Source:
Get cursor of next page.
Returns:
返回下一个结果
- Type
- String
result() → {Array}
- Source:
Get the result of current page.
Returns:
group or chatroom list.
- Type
- Array