Get User List in Flutter with MirrorFly Audio/Video SDK
#
Get User ListTo retrieve all registered users on MirrorFly SDK use below method. User list can also be retrived based on search key word, also this method supports pagination. This function will return the total number of pages.
warning
User presence and Profile instant update will not happen until a message is sent to that particular user.
- Dart
- Response
Refer this doc to know more about Profile Details Class
Argument | Type | Description |
---|---|---|
PAGE_NUMBER | int | Page number of user list default value 1 |
PER_PAGE_RESULT_SIZE | int | Number of users per page default value 20 |
SEARCH_TERM | String | text characters for which search has to happen default value empty |
flyCallback | FlyResponse | callback to observe the action status |
#
Get Registered Phonebook Contact UsersNote : The registered contacts who are in your contacts will retrieved after the contact sync, those people's only observe your profile,user presence updates.
Once we started communicating , we can get the list of contact with chat data with whom we communicated so far.
- Dart
- Response
Refer this doc to know more about Profile Details Class
Argument | Type | Description |
---|---|---|
FETCH_FROM_SERVER | bool | true to fetch from server |
flyCallback | FlyResponse | callback to observe the action status |
caution
flyCallback
which is used as a callback for most of the i/o operation is expressed.