다음을 통해 공유


NotificationListenerService.ReasonClearData Field

Definition

Caution

This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.

Notification was canceled due to the app's storage being cleared

[Android.Runtime.Register("REASON_CLEAR_DATA", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)]
public const Android.Service.Notification.NotificationCancelReason ReasonClearData = 21;
[<Android.Runtime.Register("REASON_CLEAR_DATA", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)>]
val mutable ReasonClearData : Android.Service.Notification.NotificationCancelReason

Field Value

Value = 21
Attributes

Remarks

Notification was canceled due to the app's storage being cleared

Java documentation for android.service.notification.NotificationListenerService.REASON_CLEAR_DATA.

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