PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.audio.source
/
AudioSourceManager
Audio
Source
Manager
interface
AudioSourceManager
<
T
:
AudioSource
<
out
Any
>
?
>
Manages audio sources.
Parameters
<T>
The type of audio source to manage.
Members
Functions
clear
Link copied to clipboard
abstract
fun
clear
(
)
Clears the manager, closing and removing all registered audio sources.
get
Source
By
Id
Link copied to clipboard
abstract
fun
getSourceById
(
@
NotNull
sourceId
:
@
NotNull
UUID
)
:
Optional
<
T
>
Gets an audio source by its unique identifier.
get
Sources
Link copied to clipboard
abstract
fun
getSources
(
)
:
Collection
<
T
>
Gets a collection of all registered audio sources.