User Meta Data
Registration with MetaData#
To register a user with providing MetaData, you can utilise below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| USER_IDENTIFIER | String | A unique Id to Register the User. We accept only the AlphaNumeric String |
| META_DATA | List<MetaData> | list of key - value pair of metadata object. Maximum size is 3 |
| CALLBACK | FlyCallback | FlyCallback is used as a callback, implemented and expressed as lambda expression for easy reading |
Get User List with MetaData#
To retrive 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.
- Java
- Kotlin
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_USER_LIST | MetaDataUserList | model class which filters the results by metadata default value is empty |
| CALLBACK | FlyCallback | FlyCallback implemented as as lambda expression |
Get MetaData of user#
If you want to get MetaData value of user, you can utilise the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
Update MetaData of user#
If you want to update MetaData value of user, you can utilise the below method.
- Java
- Kotlin
| Argument | Type | Description |
|---|---|---|
| META_DATA | List<MetaData> | list of key - value pair of metadata object. Maximum size is 3 |
| CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |