set Attribute
@NonNull
Sets a key/value pair as an attribute in the registration. This key must already exist in your Marketing Cloud Server configuration. There is no way to add an attribute from the SDK.
Return
Parameters
key
a non-null string between 1 and 128 characters in length.
value
a non-null string