Home > @magiclane/maps-sdk > DataSource > getLatestData
DataSource.getLatestData() method
Get the latest produced data for a data type
Signature:
getLatestData(type: DataType): SenseData | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
type |
The data type for which the data is requested. |
Returns:
SenseData | null
The latest produced data or null if not available