updateUsersAttributesFromClient

fun updateUsersAttributesFromClient(    attributes: List<UserAttribute>?,     publisherProjectId: Int?,     removingKeys: List<String>?,     callback: UpdateUsersAttributesCallback)

Updates the values of user attributes with the specified IDs. The method can be used to create and remove attributes. Changes are made on the user data storage side (server side).

See also

Parameters

attributes

List of attributes of the specified game. To add attribute which does not exist, set this attribute to the key parameter. To update value of the attribute, specify its key parameter and set the new value. You can change several attributes at a time.

publisherProjectId

Project ID from Publisher Account which you want to update the value of specified attributes for. If you do not specify it, it updates attributes that are general to all games only.

removingKeys

List of attributes which you want to remove. If you specify the same attribute in attributes parameter, it will not be deleted.

callback

Callback that indicates the success or failure of an action.

Sources

Link copied to clipboard