Java Mine
ContentsIndexHome
PreviousUpNext
LightSensorBase Methods

The methods of the LightSensorBase class are listed here.

 
Name 
Description 
 
This is CalibrateFrame, a member of class LightSensorBase. 
 
This is Create, a member of class LightSensorBase. 
 
This is getData, a member of class LightSensorBase. 
 
Returns default configurations for the sensor
@param version The version of the Sensor @param platform The Firmware Generation of your device. i.e. Commercial, Alta, Wifi @return Default configurations for the sensor 
 
This is getDeltaLightReport, a member of class LightSensorBase. 
 
This is getHysteresis, a member of class LightSensorBase. 
 
This is getMaximumThreshold, a member of class LightSensorBase. 
 
This is getMinimumThreshold, a member of class LightSensorBase. 
 
This is getProfileType, a member of class LightSensorBase. 
 

Allows for the update of the specific type of sensor. @param sens the Sensor object to be updated @param heartBeat How often the sensor communicates with the gateway if no activity recorded. @param awareStateHeartBeat How often the sensor communicates with the gateway while in Aware State. @param assessmentsPerHeartbeat How many times between heartbeats a sensor will check its measurements against its thresholds to determine whether it will enter the Aware State. @param minimumThreshold Any assessments below this Celsius value will cause the sensor to enter the Aware State. @param maximumThreshold Any assessments above this Celsius value will cause the sensor... more 
 

Calibrates the sensor @param sens the Sensor object to be updated @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration @throws java.lang.Exception exception 
 

sets the ReportInterval as minutes on the sensor object the next time this sensor checks in it will update @param sens the Sensor object to be updated @param heartbeat a double value this is represented in minutes so heartbeat equals 1 that is one minute @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!