User Meta Data
#
Registration with MetaDataArgument | Type | Description |
---|---|---|
USER_IDENTIFIER | String | Unique Id to Register the User |
APNS_DEVICE_TOKEN | String | Token to register APNS device (optional) |
VOIP_DEVICE_TOKEN | String | Token to register VoIP device (optional) |
IS_EXPORT | Bool | true for production(apns certificate) builds and false for sandbox(apns certificate)builds |
IS_FORCE_REGISTER | Bool | default value true provide true to force the logout of the old session If the registered user has reached the maximum no of multi-sessions or provide false to allow registration till the maximum no of multi-sessions |
USER_TYPE | String | Type of the user (optional) |
META_DATA | [MetaData] | list of key - value pair of metadata object. Maximum size is 3 (optional) |
CALLBACK | FlyCompletionHandler | FlyCompletionHandler is implemented and expressed as lambda expression |
To know more about
FlyCompletionHandler
clickhere
#
User List with MetaDataTo retrive all registered users on MirrorFly SDK use below method. User list can also be retrived based on MetaData.
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 50 |
SEARCH_TERM | String | text characters for which search has to happen default value empty |
META_DATA | MetaDataUserList | model class which filters the results by metadata default value is empty |
CALLBACK | FlyCompletionHandler | FlyCompletionHandler used as completion Handler |
#
Get MetaData of userTo get MetaData value of user call the below method.
Argument | Type | Description |
---|---|---|
CALLBACK | FlyCompletionHandler | FlyCompletionHandler used as completion Handler |
#
Update MetaData of userTo Update MetaData value of user call the below method.
Argument | Type | Description |
---|---|---|
META_DATA | MetaData | list of key - value pair of metadata object. Maximum size is 3 (optional) |
CALLBACK | FlyCompletionHandler | FlyCompletionHandler used as completion Handler |