SKAltimeterData Class Reference
| Inherits from | SKSensorData : NSObject |
|---|---|
| Declared in | SKAltimeterData.h |
– initWithSensorType:withTimestamp:
Returns an SKSensorData object, initialized with the given SKSensorType and SKSensorTimestamp.
- (instancetype)initWithSensorType:(SKSensorType)sensorType withTimestamp:(SKSensorTimestamp *)timestampParameters
sensorType |
The type of the sensor that produced this data object. |
|---|---|
timestamp |
The time were this data log was captured. |
Return Value
A new SKSensorData object.
Declared In
SKSensorData.h
– initWithAltitudeData:
Returns an SKAltimeterData object, initialized with an instance of CMAltitudeData.
- (instancetype)initWithAltitudeData:(CMAltitudeData *)altitudeDataParameters
altitudeData |
A CMAltitudeData object that contains data related to the Altimeter sensor. |
|---|
Return Value
An SKAltimeter object.
Declared In
SKAltimeterData.h
altitudeData
An instance of CMAltitudeData object contains data about changes to the relative altitude (not the actual). It also provides the recorded atmospheric pressure in kPa.
@property (nonatomic, readonly, copy) CMAltitudeData *altitudeDataDeclared In
SKAltimeterData.h
+ csvHeader
A string with a CSV formatted header that describes the data of the Altimeter sensor. This method is useful in combination with the csvString instance method of an SKSensorData object.
+ (NSString *)csvHeaderReturn Value
A string with a CSV header.
Declared In
SKAltimeterData.h