AndroidDefaults

Android Only

On devices which do not support notification channels (API Level < 26), the notification by default will use all methods to alert the user (depending on the importance).


To override the default behaviour, provide an array of defaults to the notification.

On API Levels >= 26, this has no effect and notifications will use the channel behaviour.

Members

ALL

All options will be used, where possible.

LIGHTS

The notification will use lights to alert the user.

SOUND

The notification will use sound to alert the user.

VIBRATE

The notification will vibrate to alert the user.


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.