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