sound property

AndroidNotificationSound sound

The sound to play for the notification.

Requires setting playSound to true for it to work. If playSound is set to true but this is not specified then the default sound is played.

For Android 8.0 or newer, this is tied to the specified channel and cannot be changed after the channel has been created for the first time.


final AndroidNotificationSound sound;