Dil

UserSentiment Enum

Definition

public enum UserSentiment
type UserSentiment = 
Inheritance
UserSentiment

Fields

Name Value Description
Negative -1

The user is likely to have a negative reaction to this notification.

Android reference for android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEGATIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Neutral 0

It is not known how the user will react to this notification.

Android reference for android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_NEUTRAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Positive 1

The user is likely to have a positive reaction to this notification.

Android reference for android.service.notification.NotificationListenerService.Ranking.USER_SENTIMENT_POSITIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to