GKAchievement.ReportAchievementAsync 方法

定义

已弃用。

[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

返回

表示异步 ReportAchievement 操作的任务

属性

适用于