Class NameAttribute

java.lang.Object
io.appmetrica.analytics.profile.StringAttribute
io.appmetrica.analytics.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();