Class NotificationsEnabledAttribute

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