Edit

Share via


GKAchievement.ReportAchievementAsync Method

Definition

Deprecated.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use ReportAchievements '(GKAchievement[] achievements, Action<NSError> completionHandler)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use ReportAchievements '(GKAchievement[] achievements, Action<NSError> completionHandler)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task ReportAchievementAsync ();
abstract member ReportAchievementAsync : unit -> System.Threading.Tasks.Task
override this.ReportAchievementAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous ReportAchievement operation

Attributes

Applies to