DashButtonWatcher

Java Project to listen for dash button clicks in your local network.

License

License

GroupId

GroupId

com.github.shynixn
ArtifactId

ArtifactId

dashbuttonwatcher-api
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

DashButtonWatcher
Java Project to listen for dash button clicks in your local network.

Download dashbuttonwatcher-api

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.shynixn/dashbuttonwatcher-api/ -->
<dependency>
    <groupId>com.github.shynixn</groupId>
    <artifactId>dashbuttonwatcher-api</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.shynixn/dashbuttonwatcher-api/
implementation 'com.github.shynixn:dashbuttonwatcher-api:1.0'
// https://jarcasting.com/artifacts/com.github.shynixn/dashbuttonwatcher-api/
implementation ("com.github.shynixn:dashbuttonwatcher-api:1.0")
'com.github.shynixn:dashbuttonwatcher-api:jar:1.0'
<dependency org="com.github.shynixn" name="dashbuttonwatcher-api" rev="1.0">
  <artifact name="dashbuttonwatcher-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.shynixn', module='dashbuttonwatcher-api', version='1.0')
)
libraryDependencies += "com.github.shynixn" % "dashbuttonwatcher-api" % "1.0"
[com.github.shynixn/dashbuttonwatcher-api "1.0"]

Dependencies

test (1)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.0.0-M4

Project Modules

There are no modules declared in this project.

DashButtonWatcher GitHub license

branch status download
master Build Status Download latest release (recommend)
development Build Status Download snapshots

JavaDocs: https://shynixn.github.io/DashButtonWatcher/apidocs/

Description

Java Project to listen for dash button clicks in your local network.

Maven

<dependency>
     <groupId>com.github.shynixn</groupId>
     <artifactId>dashbuttonwatcher-api</artifactId>
     <version>1.0</version>
</dependency>

Gradle

dependencies {
    compile 'com.github.shynixn:dashbuttonwatcher-api:1.0'
}

How to use the it

String dashButtonIp = "188.0.0.0"; //Your static dashButton ip
DashButtonListener listener = DashButtonListener.fromIpAddress(dashButtonIp);
listener.register(new Runnable() {
        @Override
        public void run() {
            //Gets called when the dashButton with the given ip in the local network is pressed
        }
});

Licence

The source code is licensed under the MIT license.

Versions

Version
1.0