SKGyroscopeData Class Reference
| Inherits from | SKSensorData : NSObject |
|---|---|
| Declared in | SKGyroscopeData.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
– initWithGyroData:
Returns an SKGyroscopeData object, initialized with a CMRotationRate structure.
- (instancetype)initWithGyroData:(CMGyroData *)gyroDataParameters
gyroData |
A structure that contains 3-axis rotation rate data. |
|---|
Return Value
An SKGyroscopeData object
Declared In
SKGyroscopeData.h
rotationRate
A structure that contains 3-axis rotation rate data.
@property (nonatomic, readonly) CMRotationRate rotationRateDeclared In
SKGyroscopeData.h
+ csvHeader
A string with a CSV formatted header that describes the data of the Gyroscope 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
SKGyroscopeData.h