Home > @magiclane/maps-sdk > SoundPlayingService > playSound
SoundPlayingService.playSound() method
Play a pre-recorded sound by id.
Signature:
static playSound(soundId: any): void;Parameters
Parameter | Type | Description |
|---|---|---|
soundId | any | Platform-specific identifier for the sound to play |
Returns:
void