TNAxisSensorItemBuilder

@objcMembers
public class TNAxisSensorItemBuilder<T> : NSObject, LogInitiator where T : TNAxisSensorItem

Undocumented

  • Constnt is used to convert values from acceleration in G’s to m/s^

    Declaration

    Swift

    public let gravityConstant: Double
  • x

    Value related to the X axis

    Declaration

    Swift

    public internal(set) var x: Double? { get }
  • y

    Value related to the Y axis

    Declaration

    Swift

    public internal(set) var y: Double? { get }
  • z

    Value related to the Z axis

    Declaration

    Swift

    public internal(set) var z: Double? { get }
  • UTC timestamp

    Declaration

    Swift

    public internal(set) var timestamp: TimeInterval? { get }
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func x(_ x: Double) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func y(_ y: Double) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func z(_ z: Double) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func timestamp(_ timestamp: TimeInterval) -> Self
  • Undocumented

    Declaration

    Swift

    public func build() -> T?