Package | Description |
---|---|
com.mixer.interactive |
Provides all interfaces and classes related to implementing the Interactive 2.0 specification.
|
com.mixer.interactive.resources.core |
Provides interfaces and classes relating to core Interactive resources.
|
com.mixer.interactive.util.compression |
Contains all classes and interfaces related to the use of compression when communicating with the Interactive
service.
|
com.mixer.interactive.ws |
Contains all classes and interfaces related to the use of websockets to communicate with the Interactive service.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<CompressionScheme> |
GameClient.setCompression(Collection<String> schemes)
Changes the compression algorithm the client uses to encode/decode messages to/from the Interactive
service.
|
CompletableFuture<CompressionScheme> |
GameClient.setCompression(CompressionScheme... schemes)
Changes the compression algorithm the client uses to encode/decode messages to/from the Interactive
service.
|
CompletableFuture<CompressionScheme> |
GameClient.setCompression(String... schemes)
Changes the compression algorithm the client uses to encode/decode messages to/from the Interactive
service.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<CompressionScheme> |
GameClient.setCompression(CompressionScheme... schemes)
Changes the compression algorithm the client uses to encode/decode messages to/from the Interactive
service.
|
Modifier and Type | Method and Description |
---|---|
static CompressionScheme |
CompressionScheme.from(String scheme)
Returns the associated
CompressionScheme object for the provided scheme name (if there is one). |
static CompressionScheme |
CompressionScheme.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionScheme[] |
CompressionScheme.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
CompressionUtil.decode(CompressionScheme compressionScheme,
byte[] message)
Decodes a message using the associated
ICoder for the provided CompressionScheme . |
static byte[] |
CompressionUtil.encode(CompressionScheme compressionScheme,
String message)
Encodes a message using the associated
ICoder for the provided CompressionScheme . |
Modifier and Type | Method and Description |
---|---|
CompressionScheme |
InteractiveWebSocketClient.getCompressionScheme()
Retrieves the
CompressionScheme this InteractiveWebSocketClient is using. |
Modifier and Type | Method and Description |
---|---|
void |
InteractiveWebSocketClient.setCompressionScheme(CompressionScheme compressionScheme)
Sets the
CompressionScheme that this InteractiveWebSocketClient will use. |
Copyright © 2018. All rights reserved.