GKAchievement.ReportAchievementsAsync Método

Definición

Sobrecargas

ReportAchievementsAsync(GKAchievement[])

Informa de los logros proporcionados y los desafíos coincidentes con Game Center y, a continuación, llama a completionHandler con un objeto de error que es null si no se ha producido ningún error.

ReportAchievementsAsync(GKAchievement[], GKChallenge[])

Informa asincrónicamente de los logros y desafíos proporcionados a Game Center.

ReportAchievementsAsync(GKAchievement[])

Informa de los logros proporcionados y los desafíos coincidentes con Game Center y, a continuación, llama a completionHandler con un objeto de error que es null si no se ha producido ningún error.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task ReportAchievementsAsync (GameKit.GKAchievement[] achievements);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task ReportAchievementsAsync (GameKit.GKAchievement[] achievements);
static member ReportAchievementsAsync : GameKit.GKAchievement[] -> System.Threading.Tasks.Task

Parámetros

achievements
GKAchievement[]

Logros para informar a Game Center.

Devoluciones

Tarea que representa la operación asincrónica ReportAchievements.

Atributos

Se aplica a

ReportAchievementsAsync(GKAchievement[], GKChallenge[])

Informa asincrónicamente de los logros y desafíos proporcionados a Game Center.

[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.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task ReportAchievementsAsync (GameKit.GKAchievement[] achievements, GameKit.GKChallenge[] challenges);
static member ReportAchievementsAsync : GameKit.GKAchievement[] * GameKit.GKChallenge[] -> System.Threading.Tasks.Task

Parámetros

achievements
GKAchievement[]
challenges
GKChallenge[]

Devoluciones

Atributos

Se aplica a