Modifica

Condividi tramite


GKLeaderboard.LoadImageAsync Method

Definition

Loads the leaderboard image asynchronously.

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

Returns

A task that represents the asynchronous LoadImage operation. The result is of type System.Threading.Tasks.Task<AppKit.NSImage> on MacOS and System.Threading.Tasks.Task<UIKit.UIImage> on iOS.

Attributes

Remarks

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