DashButtonWatcher

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

Лицензия

Лицензия

Группа

Группа

com.github.shynixn
Идентификатор

Идентификатор

dashbuttonwatcher-api
Последняя версия

Последняя версия

1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

Скачать dashbuttonwatcher-api

Как подключить последнюю версию

<!-- 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"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.0.0-M4

Модули Проекта

Данный проект не имеет модулей.

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.

Версии библиотеки

Версия
1.0