Partager via


GKAchievement.ReportAchievementAsync Méthode

Définition

Action déconseillée.

[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

Retours

Tâche qui représente l’opération reportAchievement asynchrone

Attributs

S’applique à