com.yandex.metrica.profile.BooleanAttribute


public class NotificationsEnabledAttribute
extends BooleanAttribute
Методы класса задают статус уведомлений пользовательского профиля. Статус указывает, разрешил ли пользователь получать уведомления.

ПРИМЕР:

      UserProfile userProfile = new UserProfile.Builder()
                     .apply(Attribute.notificationEnabled().withValue(true))
                     .build();
 

Method Summary

Methods inherited from class com.yandex.metrica.profile.BooleanAttribute

withValue, withValueIfUndefined, withValueReset

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait