To retrive 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 total page of users.
User presence and Profile instant update will not happen until a messege is sent to that particular user.
|PAGE_NUMBER||Page number of user list |
|PER_PAGE_RESULT_SIZE||Number of users per page |
|SEARCH_TERM||model class which filters the results by metadata |
Note : 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.
FlyCompletionHandler which is used as a callback for most of the i/o operation is being expressed as lambda expression for easy reading.