playSound property

bool playSound
final

Indicates if a sound should be played when the notification is displayed.

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 bool playSound;