CoreMotionActivityType

public struct CoreMotionActivityType: OptionSet

Bitmask for core motion activity types, mapping directly to what’s available in CMMotionActivity.

  • Bitmask for core motion activity types, mapping directly to what’s available in CMMotionActivity.

    Declaration

    Swift

    public let rawValue: Int
  • Bitmask for core motion activity types, mapping directly to what’s available in CMMotionActivity.

    Declaration

    Swift

    public init(rawValue: Int)

    Parameters

    rawValue

    The raw value of the option set to create. Each bit of rawValue potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the OptionSet type.