Treehopper Java API
io.treehopper.libraries.sensors.ProximitySensor Class Referenceabstract
Inheritance diagram for io.treehopper.libraries.sensors.ProximitySensor:
io.treehopper.libraries.sensors.IPollable io.treehopper.libraries.sensors.optical.vcnl4010.Vcnl4010

Public Member Functions

boolean isAutoUpdateWhenPropertyRead ()
 
void setAutoUpdateWhenPropertyRead (boolean value)
 
double getMeters ()
 
double getCentimeters ()
 
double getMillimeters ()
 
double getInches ()
 
double getFeet ()
 
void update ()
 

Protected Attributes

double meters
 

Member Function Documentation

◆ getCentimeters()

double io.treehopper.libraries.sensors.ProximitySensor.getCentimeters ( )

◆ getFeet()

double io.treehopper.libraries.sensors.ProximitySensor.getFeet ( )

◆ getInches()

double io.treehopper.libraries.sensors.ProximitySensor.getInches ( )

◆ getMeters()

double io.treehopper.libraries.sensors.ProximitySensor.getMeters ( )

◆ getMillimeters()

double io.treehopper.libraries.sensors.ProximitySensor.getMillimeters ( )

◆ isAutoUpdateWhenPropertyRead()

boolean io.treehopper.libraries.sensors.ProximitySensor.isAutoUpdateWhenPropertyRead ( )

◆ setAutoUpdateWhenPropertyRead()

void io.treehopper.libraries.sensors.ProximitySensor.setAutoUpdateWhenPropertyRead ( boolean  value)

◆ update()

Member Data Documentation

◆ meters

double io.treehopper.libraries.sensors.ProximitySensor.meters
protected

The documentation for this class was generated from the following file: