The Java Interactivity SDK supports client-side development of application with Mixer Interactivity. The SDK implements the Mixer Interactive 2 protocol specification.
For an introduction to Interactive 2.0, checkout the reference docs on the developers site.
Please refer to the release notes for more information.
Javadoc for the SDK is available here.
We use Maven to build the client. Once you have Maven installed, there are two easy steps to getting the client in your classpath.
First add the Mixer repo as a <repository> in your pom.xml:
<repositories>
<repository>
<id>mixer-releases</id>
<url>https://maven.mixer.com/content/repositories/releases/</url>
</repository>
<repository>
<id>mixer-snapshots</id>
<url>https://maven.mixer.com/content/repositories/snapshots/</url>
</repository>
</repositories>Next, add this project as a dependency in your pom.xml:
<dependencies>
<dependency>
<groupId>com.mixer</groupId>
<artifactId>mixer-interactive-api</artifactId>
<version>3.2.0</version>
</dependency>
</dependencies>Once these steps are completed, you should have the client on your classpath, and are set to get programming!
You can also use Gradle to build the client. Once you have installed Gradle, there are two things you have to add to your build.gradle file.
First add the Mixer repo as a repository in your build.gradle:
repositories {
maven {
url 'https://maven.mixer.com'
}
}Next, add this project as a dependency in your build.gradle using the implementation configuration:
dependencies {
implementation 'com.mixer:mixer-interactive-api:3.2.0'
}Once these steps are completed, you should have the client on your classpath, and are set to get programming!
Is there a feature missing that you'd like to see, or have you found a bug that you have a fix for? Do you have an idea or just interest in helping out in building the library? Let us know and we'd love to work with you. For a good starting point on where we are headed and feature ideas, take a look at our contributing guide.
Big or small we'd like to take your contributions to help improve the Mixer Interactivity API for everyone.