User Meta Data
#
Registration with MetaDataTo register a user with providing IdentifierMetaData
, you can utilise below method.
Argument | Type | Description |
---|---|---|
userIdentifier | String | A unique Id to Register the User. We accept only the AlphaNumeric String |
token | String | A registration token that is generated by FCM Plugin for the user's app instance to send message for free |
identifierMetaData | List<IdentifierMetaData> | list of key - value pair of metadata object. Maximum size is 3 |
isForceRegister | Boolean | default value true , provide true to force the logout of the old session if the login user has reached the maximum no of multi-sessions or provide false to allow registration till the maximum no of multi-sessions |
flyCallback | FlyResponse | callback to observe the action status |
#
Get User List with MetaDataTo retrieve all registered users with MetaData
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.
- 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 |
META_DATA_USER_LIST | List<IdentifierMetaData> | model class which filters the results by metadata default value is empty |
flyCallback | FlyResponse | callback to observe the action status |
#
Get MetaData of userIf you want to get MetaData value of user, you can utilise the below method.
- Dart
- Response
Argument | Type | Description |
---|---|---|
flyCallback | FlyResponse | callback to observe the action status |
#
Update MetaData of userIf you want to update MetaData value of user, you can utilise the below method.
- Dart
- Response
Argument | Type | Description |
---|---|---|
META_DATA_USER_LIST | List<IdentifierMetaData > | model class which filters the results by metadata default value is empty |
flyCallback | FlyResponse | callback to observe the action status |