Edytuj

Udostępnij za pośrednictwem


CMAltimeter.StartRelativeAltitudeUpdatesAsync(NSOperationQueue) Method

Definition

Requests periodic updates of altitude-adjustment data.

public virtual System.Threading.Tasks.Task<CoreMotion.CMAltitudeData> StartRelativeAltitudeUpdatesAsync (Foundation.NSOperationQueue queue);
abstract member StartRelativeAltitudeUpdatesAsync : Foundation.NSOperationQueue -> System.Threading.Tasks.Task<CoreMotion.CMAltitudeData>
override this.StartRelativeAltitudeUpdatesAsync : Foundation.NSOperationQueue -> System.Threading.Tasks.Task<CoreMotion.CMAltitudeData>

Parameters

Returns

A task that represents the asynchronous StartRelativeAltitudeUpdates operation. The value of the TResult parameter is of type System.Action<CoreMotion.CMAltitudeData,Foundation.NSError>.

Remarks

The StartRelativeAltitudeUpdatesAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to