Sdílet prostřednictvím


NotificationVisibility Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.App.Notification+Builder.SetVisibility member.

public enum NotificationVisibility
type NotificationVisibility = 
Inheritance
NotificationVisibility

Fields

Name Value Description
Secret -1

Do not reveal any part of this notification on a secure lockscreen.

Private 0

Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens.

Public 1

Show this notification in its entirety on all lockscreens.

Remarks

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