SKAltimeterData Class Reference

Inherits from SKSensorData : NSObject
Declared in SKAltimeterData.h

Overview

An instance of SKAltimeterData encapsulates measurements related to the Altimeter sensor.

– initWithSensorType:withTimestamp:

Returns an SKSensorData object, initialized with the given SKSensorType and SKSensorTimestamp.

- (instancetype)initWithSensorType:(SKSensorType)sensorType withTimestamp:(SKSensorTimestamp *)timestamp

Parameters

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 *)altitudeData

Parameters

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 *altitudeData

Declared 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 *)csvHeader

Return Value

A string with a CSV header.

Declared In

SKAltimeterData.h