Instance Method


Stops the delivery of altitude data for this altimeter object


func stopRelativeAltitudeUpdates()


Calling this method ends the delivery of altitude events and releases the references to the operation queue and block you specified in the startRelativeAltitudeUpdates(to:withHandler:) method. If event delivery has not yet been started, or has already been stopped, this method does nothing.

See Also

Starting and Stopping Altitude Updates

func startRelativeAltitudeUpdates(to: OperationQueue, withHandler: CMAltitudeHandler)

Starts the delivery of altitude data to the specified handler block.

typealias CMAltitudeHandler

A block for receiving altitude data.