io.github.zeroone3010.yahueapi.PresenceSensor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yetanotherhueapi Show documentation
Show all versions of yetanotherhueapi Show documentation
A library for controlling Philips Hue lights.
package io.github.zeroone3010.yahueapi;
/**
* A physical motion detector or a virtual geofence sensor.
*/
public interface PresenceSensor extends Sensor {
/**
* Whether presence has been detected.
*
* @return {@code true} if presence detected, {@code false} if not.
*/
boolean isPresence();
}