Reports the provided achievements and matching challenges to Game Center.
Syntax
[Foundation.Export("reportAchievements:withEligibleChallenges:withCompletionHandler:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.Mac_10_10)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public static
void ReportAchievements (
GKAchievement[] achievements,
GKChallenge[] challenges, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V0))]
Action<Foundation.NSError> completionHandler)
Parameters
- achievements
- Achievements to report to Game Center.
- challenges
The corresponding challenges to the achievements.
This parameter can be null.
- completionHandler
- Method to invoke after the achievements have been posted.
Remarks
Requirements
Namespace: GameKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0