Temperature System< Only android support >

Sets temperature system

Switch temperature system.

_blePlugin.sendTempUnit(TempUnit);

Parameter Description :

TempUnit:

valuevalue typevalue description
celsiusint0
fahrenheitint1

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;
Last Updated: