TNCommonMotionEvent

@objcMembers
public class TNCommonMotionEvent : TNSensorEvent

CommonMotionEvent is a service event that is used to transfer motion data between components

  • Undocumented

    Declaration

    Swift

    public var motionData: CMDeviceMotion
  • Declaration

    Swift

    override public private(set) var type: TNEventType { get set }
  • Declaration

    Swift

    override public var eventName: String? { get set }
  • Declaration

    Swift

    override public var schemaDefinition: String? { get set }
  • Undocumented

    Declaration

    Swift

    public required init(data: CMDeviceMotion)
  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws