Package moe.kyokobot.koe
Class KoeEventAdapter
java.lang.Object
moe.kyokobot.koe.KoeEventAdapter
- All Implemented Interfaces:
KoeEventListener
@Deprecated(forRemoval=true)
public class KoeEventAdapter
extends Object
implements KoeEventListener
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidexternalIPDiscovered(InetSocketAddress address) Deprecated, for removal: This API element is subject to removal in a future version.voidgatewayClosed(int code, String reason, boolean byRemote) Deprecated, for removal: This API element is subject to removal in a future version.Called when the gateway connection is closed.voidgatewayError(Throwable cause) Deprecated, for removal: This API element is subject to removal in a future version.voidgatewayReady(InetSocketAddress target, int ssrc) Deprecated, for removal: This API element is subject to removal in a future version.voidsessionDescription(JsonObject session) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Called when one or more users have disconnected from the voice channel.voidusersConnected(List<String> userIds) Deprecated, for removal: This API element is subject to removal in a future version.Called when one or more users have connected to the voice channel.voiduserStreamsChanged(String id, int audioSSRC, int videoSSRC, int rtxSSRC) Deprecated, for removal: This API element is subject to removal in a future version.Called when the stream information for a user has changed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface moe.kyokobot.koe.KoeEventListener
sessionLost
-
Constructor Details
-
KoeEventAdapter
public KoeEventAdapter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
gatewayError
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
gatewayErrorin interfaceKoeEventListener
-
gatewayReady
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
gatewayReadyin interfaceKoeEventListener
-
gatewayClosed
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:KoeEventListenerCalled when the gateway connection is closed.- Specified by:
gatewayClosedin interfaceKoeEventListener- Parameters:
code- the WebSocket close code.reason- the close reason if present, null otherwise.byRemote- true if the connection was closed by the gateway, false if it was closed by Koe.
-
userStreamsChanged
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:KoeEventListenerCalled when the stream information for a user has changed. Not state tracked by Koe, provides data frommoe.kyokobot.koe.gateway.Op#USER_SPEAKINGas-is.- Specified by:
userStreamsChangedin interfaceKoeEventListener- Parameters:
id- the user ID of the user whose stream information has changed.audioSSRC- the SSRC of the user's audio stream, or 0 if not present or just disabled.videoSSRC- the SSRC of the user's video stream, or 0 if not present or just disabled.rtxSSRC- the SSRC of the user's retransmission stream, or 0 if not present or just disabled.
-
usersConnected
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:KoeEventListenerCalled when one or more users have connected to the voice channel. Not state tracked by Koe, provides data fromOp.CLIENT_CONNECTas-is.- Specified by:
usersConnectedin interfaceKoeEventListener- Parameters:
userIds- the list of user IDs that have connected, as provided by the gateway.
-
userDisconnected
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:KoeEventListenerCalled when one or more users have disconnected from the voice channel. Not state tracked by Koe, provides data fromOp.CLIENT_DISCONNECTas-is.- Specified by:
userDisconnectedin interfaceKoeEventListener
-
externalIPDiscovered
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
externalIPDiscoveredin interfaceKoeEventListener
-
sessionDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
sessionDescriptionin interfaceKoeEventListener
-
KoeEventListenermethod has an empty default implementation now, implementKoeEventListenerdirectly instead.