Visibility

How much of the notification may appear on a locked screen. Parsed from payload key _vs.

On Android 8+ this is capped by the notification channel's lock-screen visibility. The SDK default channel is PRIVATE, so PUBLIC requires an app-owned PUBLIC channel.

See also

Notification.VISIBILITY_PUBLIC
Notification.VISIBILITY_PRIVATE
Notification.VISIBILITY_SECRET

Entries

Link copied to clipboard

Full content on the lock screen. Needs a PUBLIC channel; no-op on the SDK default.

Link copied to clipboard

Hide content on the lock screen; show after unlock. Honored on the SDK default channel.

Link copied to clipboard

Do not show on the lock screen. Honored on the SDK default channel.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.