IAudioChannel
Defined in: plugins/audio/AudioChannel.ts:5
Properties
instances
instances:
IAudioInstance
[]
Defined in: plugins/audio/AudioChannel.ts:9
muted
muted:
boolean
Defined in: plugins/audio/AudioChannel.ts:7
name
name:
string
Defined in: plugins/audio/AudioChannel.ts:6
volume
volume:
number
Defined in: plugins/audio/AudioChannel.ts:8
Methods
add()
add(
id
,instance
):IAudioInstance
Defined in: plugins/audio/AudioChannel.ts:11
Parameters
id
string
instance
Returns
destroy()
destroy():
void
Defined in: plugins/audio/AudioChannel.ts:21
Returns
void
get()
get(
id
):undefined
|IAudioInstance
Defined in: plugins/audio/AudioChannel.ts:13
Parameters
id
string
Returns
undefined
| IAudioInstance
pause()
pause():
void
Defined in: plugins/audio/AudioChannel.ts:23
Returns
void
remove()
remove(
id
):undefined
|IAudioInstance
Defined in: plugins/audio/AudioChannel.ts:15
Parameters
id
string
Returns
undefined
| IAudioInstance
restore()
restore():
void
Defined in: plugins/audio/AudioChannel.ts:19
Returns
void
resume()
resume():
void
Defined in: plugins/audio/AudioChannel.ts:25
Returns
void
updateVolume()
updateVolume():
void
Defined in: plugins/audio/AudioChannel.ts:17
Returns
void