AndroidVisibility

Android Only

Interface used to define the visibility of an Android notification.


Use with the visibility property on the notification.

View the Visibility documentation to learn more.

Default value is AndroidVisibility.PRIVATE.

Members

PRIVATE

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

PUBLIC

Show this notification in its entirety on all lockscreens.

SECRET

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

Useful for notifications showing sensitive information such as banking apps.


Copyright 2020 - 2021 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.