PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.client.connection
/
UdpClientManager
Udp
Client
Manager
interface
UdpClientManager
Manages the current UDP client.
Members
Functions
get
Client
Link copied to clipboard
abstract
fun
getClient
(
)
:
Optional
<
UdpClient
>
Gets the
UdpClient
, if available.
is
Connected
Link copied to clipboard
abstract
fun
isConnected
(
)
:
Boolean
Checks if the UDP client is present, connected, and not timed out.
remove
Client
Link copied to clipboard
abstract
fun
removeClient
(
@
NotNull
reason
:
@
NotNull
UdpClientClosedEvent.Reason
)
Disconnects and removes the UDP client from the manager.
set
Client
Link copied to clipboard
abstract
fun
setClient
(
@
NotNull
client
:
@
NotNull
UdpClient
)
Sets the
UdpClient