sound property

AndroidNotificationSound sound
final

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.

Implementation

final AndroidNotificationSound sound;