Edytuj

Udostępnij za pośrednictwem


MKMapSnapshotter.StartAsync Method

Definition

Overloads

StartAsync()
StartAsync(DispatchQueue)

Puts a request that a snapshot be generated on the provided dispatch queue, returning a task that provides the snapshot when it is ready.

StartAsync()

public virtual System.Threading.Tasks.Task<MapKit.MKMapSnapshot> StartAsync ();
abstract member StartAsync : unit -> System.Threading.Tasks.Task<MapKit.MKMapSnapshot>
override this.StartAsync : unit -> System.Threading.Tasks.Task<MapKit.MKMapSnapshot>

Returns

A task that represents the asynchronous Start operation. The value of the TResult parameter is a MKMapSnapshotCompletionHandler.

Remarks

The StartAsync 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

StartAsync(DispatchQueue)

Puts a request that a snapshot be generated on the provided dispatch queue, returning a task that provides the snapshot when it is ready.

public virtual System.Threading.Tasks.Task<MapKit.MKMapSnapshot> StartAsync (CoreFoundation.DispatchQueue queue);
abstract member StartAsync : CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<MapKit.MKMapSnapshot>
override this.StartAsync : CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<MapKit.MKMapSnapshot>

Parameters

queue
DispatchQueue

The dispatch queue to which to add the request.

Returns

Applies to