respectSilence property
Whether the "silent" mode of the device should be respect. By default (false), if the device is on silent mode, the audio will not be played.
On Android, this will mandate the USAGE_NOTIFICATION_RINGTONE
usage
type.
On iOS, setting this mandates the .ambient
category, and it will be:
- silenced by rings
- silenced by the Silent switch
- silenced by screen locking (note: read stayAwake for details on this).
Implementation
final bool respectSilence;