| // Copyright 2020 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| library fuchsia.hardware.temperature; | |
| using zx; | |
| @for_deprecated_c_bindings | |
| protocol Device { | |
| /// Get the current temperature in degrees Celsius. | |
| GetTemperatureCelsius() -> (struct { | |
| status zx.status; | |
| temp float32; | |
| }); | |
| }; |