TNGyroscopeItem
@objc
public class TNGyroscopeItem : NSObject, TNAxisSensorItem, Codable, LogInitiator
Rotation status from gyroscope. Use TNGyroscopeItemBuilder to create item
-
Rate of rotation around the X axis
Declaration
Swift
public private(set) var x: Double { get } -
Rate of rotation around the Y axis
Declaration
Swift
public private(set) var y: Double { get } -
Rate of rotation around the Z axis
Declaration
Swift
public private(set) var z: Double { get } -
UTC timestamp
Declaration
Swift
public private(set) var timestamp: Int64 { get } -
Undocumented
Declaration
Swift
required public init(x: Double, y: Double, z: Double, timestamp: TimeInterval) -
Builder in order to create a valid item
Declaration
Swift
public static func builder() -> TNGyroscopeItemBuilder
TNGyroscopeItem Class Reference