com.yandex.metrica.profile
Class NameAttribute
java.lang.Object
com.yandex.metrica.profile.StringAttribute
com.yandex.metrica.profile.NameAttribute
public class NameAttribute extends StringAttribute
Методы класса задают имя пользовательского профиля.
ПРИМЕЧАНИЕ: Максимальная длина имени пользовательского профиля 100 символов.
ПРИМЕР:
UserProfile userProfile = new UserProfile.Builder()
.apply(Attribute.name().withValue("John"))
.build();
Method Summary
Methods inherited from class com.yandex.metrica.profile.StringAttribute
withValue, withValueIfUndefined, withValueReset