Tizen Native API 7.0
The Temperature API provides functions to get information about the temperature.
The Temperature API provides the way to get the current thermal value such as Application Processor, Communication Processor and Battery.
This API is related with the following features:
It is recommended to use features in your application for reliability.
You can check if the device supports the related features for this API by using System Information, and control your application's actions accordingly.
To ensure your application is running only on devices with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on using features in your application can be found in the feature element description.
|device_thermal_get_temperature (device_thermal_e type, int *temp)
|Gets the temperature value.
Enumeration Type Documentation
Gets the temperature value.
- Since :
[in] type The index of the device [out] temp The temperature value in degrees Celsius
0on success, otherwise a negative error value