AudioInstance
Defined in: plugins/audio/AudioInstance.ts:44
Type Parameters
• C extends ChannelName
= ChannelName
Implements
Constructors
new AudioInstance()
new AudioInstance<
C
>(id
,channel
,manager
):AudioInstance
<C
>
Defined in: plugins/audio/AudioInstance.ts:53
Parameters
id
string
channel
manager
Returns
Properties
channel
channel:
IAudioChannel
Defined in: plugins/audio/AudioInstance.ts:55
Implementation of
id
id:
string
Defined in: plugins/audio/AudioInstance.ts:54
Implementation of
manager
manager:
IAudioManagerPlugin
Defined in: plugins/audio/AudioInstance.ts:56
Implementation of
onEnd
onEnd:
Signal
<(instance
) =>void
>
Defined in: plugins/audio/AudioInstance.ts:48
Implementation of
onPaused
onPaused:
Signal
<(instance
) =>void
>
Defined in: plugins/audio/AudioInstance.ts:49
Implementation of
onProgress
onProgress:
Signal
<(instance
) =>void
>
Defined in: plugins/audio/AudioInstance.ts:51
onResumed
onResumed:
Signal
<(instance
) =>void
>
Defined in: plugins/audio/AudioInstance.ts:50
Implementation of
onStart
onStart:
Signal
<(instance
) =>void
>
Defined in: plugins/audio/AudioInstance.ts:46
Implementation of
onStop
onStop:
Signal
<(instance
) =>void
>
Defined in: plugins/audio/AudioInstance.ts:47
Implementation of
storedVolume
storedVolume:
number
Defined in: plugins/audio/AudioInstance.ts:45
Implementation of
Accessors
isPlaying
Get Signature
get isPlaying():
boolean
Defined in: plugins/audio/AudioInstance.ts:107
Returns
boolean
Set Signature
set isPlaying(
value
):void
Defined in: plugins/audio/AudioInstance.ts:111
Parameters
value
boolean
Returns
void
Implementation of
media
Get Signature
get media():
IMediaInstance
Defined in: plugins/audio/AudioInstance.ts:64
Returns
IMediaInstance
Set Signature
set media(
value
):void
Defined in: plugins/audio/AudioInstance.ts:68
Parameters
value
IMediaInstance
Returns
void
Implementation of
muted
Get Signature
get muted():
boolean
Defined in: plugins/audio/AudioInstance.ts:94
Returns
boolean
Set Signature
set muted(
value
):void
Defined in: plugins/audio/AudioInstance.ts:98
Parameters
value
boolean
Returns
void
Implementation of
volume
Get Signature
get volume():
number
Defined in: plugins/audio/AudioInstance.ts:81
Returns
number
Set Signature
set volume(
value
):void
Defined in: plugins/audio/AudioInstance.ts:85
Parameters
value
number
Returns
void
Implementation of
Methods
addListeners()
addListeners():
void
Defined in: plugins/audio/AudioInstance.ts:146
Returns
void
Implementation of
destroy()
destroy():
void
Defined in: plugins/audio/AudioInstance.ts:169
Returns
void
Implementation of
fadeTo()
fadeTo(
volume
,duration
):Tween
Defined in: plugins/audio/AudioInstance.ts:174
Parameters
volume
number
duration
number
Returns
Tween
Implementation of
pause()
pause():
void
Defined in: plugins/audio/AudioInstance.ts:115
Returns
void
Implementation of
play()
play(
time
?):void
Defined in: plugins/audio/AudioInstance.ts:178
Parameters
time?
number
Returns
void
Implementation of
remove()
remove():
void
Defined in: plugins/audio/AudioInstance.ts:129
Returns
void
Implementation of
removeListeners()
removeListeners():
void
Defined in: plugins/audio/AudioInstance.ts:156
Returns
void
Implementation of
IAudioInstance
.removeListeners
resume()
resume():
void
Defined in: plugins/audio/AudioInstance.ts:122
Returns
void
Implementation of
stop()
stop():
void
Defined in: plugins/audio/AudioInstance.ts:134
Returns
void
Implementation of
updateVolume()
updateVolume():
void
Defined in: plugins/audio/AudioInstance.ts:142
Returns
void