NotificationVisibility class
The level of detail displayed in notifications on the lock screen.
Constructors
- NotificationVisibility(int rawValue)
-
Constructs an instance of NotificationVisibility.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawValue → int
-
The raw value of NotificationVisibility.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- VISIBILITY_PRIVATE → const NotificationVisibility
- Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens.
- VISIBILITY_PUBLIC → const NotificationVisibility
- Show this notification in its entirety on all lockscreens.
- VISIBILITY_SECRET → const NotificationVisibility
- Do not reveal any part of this notification on a secure lockscreen.