Class NameAttribute

java.lang.Object
com.yandex.metrica.profile.StringAttribute
com.yandex.metrica.profile.NameAttribute

public class NameAttribute
extends StringAttribute
The name attribute class. It enables setting user name for the profile.

NOTE: The maximum length of the user profile name is 100 characters.

EXAMPLE:

     UserProfile userProfile = new UserProfile.Builder()
                     .apply(Attribute.name().withValue("John"))
                     .build();