Structure
MagnetometerData
public struct MagnetometerData: Hashable
Measurements of the Earth's magnetic field relative to the device.
See the documentation for CMMagnetometerData
for more info.
Relationships
Conforms To
Hashable
Initializers
init(_:)
public init(_ magnetometerData: CMMagnetometerData)
init(magneticField:timestamp:)
public init(
magneticField: CMMagneticField,
timestamp: TimeInterval
)
Properties
magneticField
public var magneticField: CMMagneticField
timestamp
public var timestamp: TimeInterval
Methods
hash(into:)
public func hash(into hasher: inout Hasher)
Operators
==
public static func == (lhs: Self, rhs: Self) -> Bool