Home > @magiclane/maps-sdk > SoundPlayType > fromId
SoundPlayType.fromId() function
Get SoundPlayType from ID
Signature:
function fromId(id: number): SoundPlayType;Parameters
Parameter | Type | Description |
|---|---|---|
id | number | The sound play type ID |
Returns:
Corresponding SoundPlayType
Exceptions
Error if ID is invalid