AltimeterMonitor
public class AltimeterMonitor : BaseMonitor
An AltimeterMonitor
instance monitors the device for changes in
relative altitude.
-
Encapsulates changes to the relative altitude.
See moreDeclaration
Swift
public enum Event
-
Encapsulates the relative change in altitude.
See moreDeclaration
Swift
public enum Info
-
Initializes a new
AltimeterMonitor
.Declaration
Swift
public init(queue: OperationQueue, handler: @escaping (Event) -> Void)
Parameters
queue
The operation queue on which the handler executes.
handler
The handler to call when new altitude data is available.
-
A Boolean value indicating whether the device supports generating data for relative altitude changes.
Declaration
Swift
public var isAvailable: Bool { get }
-
Declaration
Swift
override public func cleanupMonitor()
-
Declaration
Swift
override public func configureMonitor()