handleSensorMultilevelReport method

  1. @override
T? handleSensorMultilevelReport(
  1. SensorMultilevelReport report
)

Implementation

@override
T? handleSensorMultilevelReport(SensorMultilevelReport report) {
  switch (report.type) {
    case SENSOR_MULTILEVEL_AIR_TEMPERATURE:
      return handleSensorMultilevelAirTemperature(report);
    case SENSOR_MULTILEVEL_POWER:
      return handleSensorMultilevelPower(report);
    case SENSOR_MULTILEVEL_HUMIDITY:
      return handleSensorMultilevelHumidity(report);
    default:
      return unhandledReport('SensorMultilevelReport', report);
  }
}