Edit

Share via


INImage.FetchImageAsync Method

Definition

Passes the image to the provided completion handler.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UIKit.UIImage> FetchImageAsync ();
abstract member FetchImageAsync : unit -> System.Threading.Tasks.Task<UIKit.UIImage>
override this.FetchImageAsync : unit -> System.Threading.Tasks.Task<UIKit.UIImage>

Returns

A task that represents the asynchronous FetchImage operation. The value of the TResult parameter is of type System.Action<UIKit.UIImage>.

Attributes

Remarks

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