setMetadata

fun setMetadata(metadata: JSONObject?)

Sets an optional set of custom key-value pairs for the user.

See also

Parameters

metadata

A set of custom key-value pairs for the user. Must have 16 or fewer keys and values of type string, boolean, or number. If null, the previous metadata will be cleared.