Home > @magiclane/maps-sdk > Temperature
Temperature class
Temperature sensor data.
Provides temperature readings, either ambient or internal device temperature, along with a severity level indicator.
Sensor Data Source
Signature:
export declare class Temperature extends GemAutoreleaseObject implements SenseData Extends: GemAutoreleaseObject
Implements: SenseData
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Temperature class.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
Date |
Acquisition time | |
|
|
The severity level of the current temperature. | ||
|
|
number |
The temperature value in Celsius. | |
|
|
Get data type |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Serialize to JSON |