public class SensorSettings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
SensorSettings.FlashLightCommand |
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Constructor and Description |
---|
SensorSettings() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
AccelerometerSensitivity |
getAccelerometerSensitivity()
Get the accelerator sensor sensitivity of the beacon.
|
int |
getLightSamplingInterval()
Get the interval of sampling light.
|
int |
getTemperatureSamplingInterval()
Get the interval of sampling the temperature.
|
void |
setAccelerometerSensitivity(AccelerometerSensitivity accelerometerSensitivity)
Set the acceleration sensor sensitivity of the beacon.
|
void |
setLightSamplingInterval(int lightSamplingInterval)
Set the interval of sampling light.
|
void |
setTemperatureSamplingInterval(int temperatureSamplingInterval)
Set the interval of sampling the temperature.
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel out,
int flags) |
public java.lang.String toString()
toString
in class java.lang.Object
public void setTemperatureSamplingInterval(int temperatureSamplingInterval)
Set the interval of sampling the temperature.
temperatureSamplingInterval
- .Range:0x00(close temperature sensor),1000~65535(unit: ms)public int getTemperatureSamplingInterval()
public void setLightSamplingInterval(int lightSamplingInterval)
Set the interval of sampling light.
lightSamplingInterval
- new interval of sampling light.Range:0x00(close light
sensor),1000~65535(unit: ms)public int getLightSamplingInterval()
public void setAccelerometerSensitivity(AccelerometerSensitivity accelerometerSensitivity)
Set the acceleration sensor sensitivity of the beacon.
accelerometerSensitivity
- acceleration sensor sensitivity com.sensoro.beacon.kit.SensorSettings.AccelerometerSensitivity
public AccelerometerSensitivity getAccelerometerSensitivity()
com.sensoro.beacon.kit.SensorSettings.AccelerometerSensitivity
public int describeContents()
public void writeToParcel(Parcel out, int flags)