Temperature System< Only android support >
Sets temperature system
Switch temperature system.
_blePlugin.sendTempUnit(TempUnit);
Parameter Description :
TempUnit:
value | value type | value description |
---|---|---|
celsius | int | 0 |
fahrenheit | int | 1 |
Gets temperature system
Get temperature system data. The query result will be obtained through the weatherChangeEveStm listening stream, the return type is tempUnitChange, and the temperature system data is WeatherChangeBean.tempUnit,type is tempUnitChange .
_blePlugin.queryTempUnit;