setTagIfAbsent

fun <T : Any> setTagIfAbsent(key: String, newValue: T)

Sets a tag associated with this avatar and a key. If the given newValue was already set for the given key, this calls do nothing, the given newValue would be ignored.

Parameters

key

A new key to set a tag associated with this avatar.

newValue

A new value to be set on the bag.