Class NotificationsEnabledAttribute

java.lang.Object
com.yandex.metrica.profile.BooleanAttribute
com.yandex.metrica.profile.NotificationsEnabledAttribute

public class NotificationsEnabledAttribute
extends BooleanAttribute
The NotificationsEnabled attribute class. It indicates whether the user has enabled notifications for the application. It enables setting notification status for the user profile.

EXAMPLE:

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