Editar

Compartilhar via


GKAchievement.ReportAchievement(Action<NSError>) Method

Definition

Deprecated.

[Foundation.Export("reportAchievementWithCompletionHandler:")]
[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 void ReportAchievement (Action<Foundation.NSError> completionHandler);
abstract member ReportAchievement : Action<Foundation.NSError> -> unit
override this.ReportAchievement : Action<Foundation.NSError> -> unit

Parameters

completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to