Home > @magiclane/maps-sdk > SoundPlayingService > getSoundPlayingPreferences
SoundPlayingService.getSoundPlayingPreferences() method
Retrieve sound playback preferences for the given severity.
The returned instance is a copy; call setSoundPlayingPreferences to persist modifications.
Signature:
static getSoundPlayingPreferences(severity?: AlertSeverity): SoundPlayingPreferences;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
severity |
(Optional) Alert severity to retrieve preferences for |
Returns:
A SoundPlayingPreferences instance for the requested severity