Package moe.kyokobot.koe
Class VoiceServerInfo.Builder
java.lang.Object
moe.kyokobot.koe.VoiceServerInfo.Builder
- Enclosing class:
- VoiceServerInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setChannelId(long channelId) setEndpoint(String endpoint) setSessionId(String sessionId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setSessionId
- Parameters:
sessionId- Session ID from VOICE_STATE_UPDATE payload.
-
setEndpoint
- Parameters:
endpoint- Voice server endpoint from VOICE_SERVER_UPDATE event (passed as-is in form of "hostname" or "hostname:port").
-
setToken
- Parameters:
token- The authentication token from VOICE_SERVER_UPDATE payload.
-
setChannelId
- Parameters:
channelId- An ID of the voice channel. Required for establishing DAVE MLS groups.
-
build
-