iOS Guides | Samples

MonoTouch.GameKit Namespace

The GameKit namespace provides easy communication between iPhone/iPod Touch devices.

Remarks

The framework provides the foundation to send data between nearby iPhone/iPod touch devices (using Bluetooth) and to provide voice chat between the devices.

Classes

TypeReason
GKAchievementRepresents an achievement in the game.
GKAchievementChallengeA challenge to a player to complete a specific GKAchievement.
GKAchievementDescriptionA combination of text and images that describe a GKAchievement.
GKAchievementDescriptionHandlerA delegate that is called by GKAchievementDescription.LoadAchievementDescriptions.
GKAchievementViewControllerA GKGameCenterViewController that presents a standard user experience to display achievement progress.
GKAchievementViewController+GKAchievementViewControllerAppearanceAppearance class for objects of type GKAchievementViewController.
GKAchievementViewControllerDelegateA delegate object that allows GKAchievementViewController to respond to lifecycle events.
GKBasePlayer
GKCategoryHandlerA delegate that is called by GKLeaderboard.LoadCategories.
GKCategoryResultCategory and title results from the asynchronous LoadCategoriesAsync method.
GKChallengeA challenge issued by a player to another player.
GKChallengeComposeHandlerCompletion handler for for the GKScore.ChallengeComposeController method.
GKChallengeComposeResultHolds the return values from the asynchronous method ChallengeComposeControllerAsync.
GKChallengeEventHandlerThe singleton GKChallengeEventHandler.Instance is used to respond to events relating to GKChallenges.
GKChallengeEventHandlerDelegateA delegate object that allows the application developer fine-grained response to life-cycle events relating to GKChallenges, such as receiving or completing a challenge.
GKChallengeEventHandlerDelegate_ExtensionsExtension methods to the IGKChallengeEventHandlerDelegate interface to support all the methods from the GKChallengeEventHandlerDelegate protocol.
GKChallengeListenerA base class for GKLocalPlayerListener.
GKChallengeListener_ExtensionsExtension methods to the IGKChallengeListener interface to support all the methods from the GKChallengeListener protocol.
GKChallengePredicateA delegate returned by several properties in GKChallengeEventHandler.
GKChallengeStateAn enumeration whose values specify the states of a GKChallenge.
GKCloudPlayer
GKCompletionHandlerA delegate passed to GKAchievement.LoadAchievements that specifies behavior after the downloading of achievements from Game Center is completed.
GKConnectionState
GKDataEventArgsProvides data for the GKDataEventArgs.DataReceived event.
GKDataReceivedEventArgsProvides data for the GKDataReceivedEventArgs.ReceiveData event.
GKDataReceivedForRecipientEventArgsProvides data for the GKDataReceivedForRecipientEventArgs.DataReceivedForRecipient event.
GKErrorAn enumeration whose values specify Game Kit errors.
GKErrorEventArgsProvides data for the GKErrorEventArgs.Failed and GKErrorEventArgs.DidFailWithError events.
GKErrorExtensionsExtension methods for the MonoTouch.GameKit.GKError enumeration.
GKFriendRequestComposeViewControllerA UINavigationController that presents a screen for sending friend requests.
GKFriendRequestComposeViewController+GKFriendRequestComposeViewControllerAppearanceAppearance class for objects of type GKFriendRequestComposeViewController.
GKFriendRequestComposeViewControllerDelegateA delegate object that allows fine-grained response to GKFriendRequestComposeViewController life-cycle events.
GKFriendsHandlerA delegate used with GKLocalPlayer.LoadFriends and GKMatchmaker.FindPlayers that defines behavior after the request completes.
GKGameCenterControllerDelegateA delegate object that allows fine-grained response to GKGameCenterViewController events.
GKGameCenterViewControllerGame Center user interface to present leaderboards and achievements.
GKGameCenterViewControllerStateAn enumeration whose values specify the current GKGameCenterViewController.ViewState of a GKGameCenterViewController.
GKGameSession
GKGameSessionErrorCode
GKGameSessionErrorCodeExtensionsExtension methods for the MonoTouch.GameKit.GKGameSessionErrorCode enumeration.
GKGameSessionEventListener_Extensions
GKIdentityVerificationSignatureHandlerCompletion handler for the GKLocalPlayer.GenerateIdentityVerificationSignature method.
GKIdentityVerificationSignatureResultHolds the return values from the asynchronous method GenerateIdentityVerificationSignatureAsync
GKImageLoadedHandlerA delegate passed to GameKit.GKAchievementDescription that defines behavior after the image has been loaded.
GKInviteA matchmaking invitation sent to another player.
GKInviteeResponseAn enumeration whose values specify the possible responses of a remote player to a GKInvite.
GKInviteEventListenerA base class for GKLocalPlayerListener.
GKInviteEventListener_ExtensionsExtension methods to the IGKInviteEventListener interface to support all the methods from the GKInviteEventListener protocol.
GKInviteHandlerA delegate that is used to define behavior after a response to a GKInvite.
GKInviteRecipientResponseEnumerates responses to game play invitations.
GKLeaderboardA class that represents a leaderboard stored in Game Center.
GKLeaderboardPlayerScopeAn enumeration whose values specify whether a GKLeaderBoard should display global results or only for friends.
GKLeaderboardSetContains a set of GKLeaderboard objects.
GKLeaderboardSetsHandlerCompletion handler for the GKLeaderboardSet.LoadLeaderboardSets method.
GKLeaderboardsHandlerCompletion handler for the GKLeaderboardSet.LoadLeaderboards method.
GKLeaderboardTimeScopeAn enumeration whose values specify the amount of time to which a player's best score is restricted.
GKLeaderboardViewControllerA GKGameCenterViewController that presents leaderboards to the player.
GKLeaderboardViewController+GKLeaderboardViewControllerAppearanceAppearance class for objects of type GKLeaderboardViewController.
GKLeaderboardViewControllerDelegateA delegate object that allows fine-grained control over GKLeaderboardViewController events.
GKLocalPlayerRepresents the authenticated local player.
GKLocalPlayer+NotificationsNotification posted by the GKLocalPlayer class.
GKLocalPlayerListenerA listener that listens for challenges, invitations, and turn based events.
GKMatchA peer-to-peer network managed by Game Center.
GKMatchConnectionChangedEventArgsProvides data for the GKMatchConnectionChangedEventArgs.StateChangedForPlayer event.
GKMatchDelegateA delegate object that allows fine-grained control over GKMatch events.
GKMatchDelegate_ExtensionsExtension methods to the IGKMatchDelegate interface to support all the methods from the GKMatchDelegate protocol.
GKMatchEventArgsProvides data for the GKMatchEventArgs.DidFindMatch event.
GKMatchmakerA class that creates matches between players and receives invitations to potential matches.
GKMatchmakerViewControllerA UIViewController that presents a standard UI for inviting friends or to allow Game Center to fill remaining players for a match.
GKMatchmakerViewControllerDelegateA delegate object that allows fine-grained control over GKMatchmakerViewController events.
GKMatchmakerViewControllerDelegate_ExtensionsExtension methods to the IGKMatchmakerViewControllerDelegate interface to support all the methods from the GKMatchmakerViewControllerDelegate protocol.
GKMatchmakingPlayerEventArgsProvides data for the GKMatchmakingPlayerEventArgs.HostedPlayerDidAccept event.
GKMatchmakingPlayersEventArgsProvides data for the GKMatchmakingPlayersEventArgs.DidFindHostedPlayers event.
GKMatchReceivedDataFromRemotePlayerEventArgsProvides data for the GKMatchReceivedDataFromRemotePlayerEventArgs.DataReceivedFromPlayer event.
GKMatchReinvitationA delegate used with GKMatch.ShouldReinvitePlayer that allows the application developer to control whether a player should be reinvited.
GKMatchReinvitationForDisconnectedPlayerCompletion handler that app developers can specify for the GKMatch.ShouldReinviteDisconnectedPlayer property.
GKMatchRequestContains the parameters for a new match.
GKMatchSendDataModeAn enumeration that allows data transmission to trade off speed for reliability.
GKMatchTypeAn enumeration whose values specify the form of a match.
GKNotificationBannerA banner that can be used to display text to a player.
GKNotificationMatchA delegate used with GKMatchmaker.FindMatch that specifies behavior after a match has been made.
GKPeerChangedStateEventArgsProvides data for the GKPeerChangedStateEventArgs.PeerChanged event.
GKPeerConnectionEventArgsProvides data for the GKPeerConnectionEventArgs.ConnectionFailed, GKPeerConnectionEventArgs.ConnectionRequest and GKPeerConnectionEventArgs.Failed events.
GKPeerConnectionStateAn enumeration whose values specify the state of a peer-to-peer connection.
GKPeerPickerConnectionTypeAn enumeration whose values specify acceptable ping for peer-to-peer connections.
GKPeerPickerControllerA View Controller that can be use to discover other players on other iPhones or iPads.
GKPeerPickerControllerDelegateDelegate object for the GKPeerPickerController class.
GKPeerPickerControllerDelegate_ExtensionsExtension methods to the IGKPeerPickerControllerDelegate interface to support all the methods from the GKPeerPickerControllerDelegate protocol.
GKPhotoSizeAn enumeration whose values specify the size of a photo being loaded by GKPlayer.LoadPhoto.
GKPlayerGame Center information about a player.
GKPlayer+NotificationsNotification posted by the GKPlayer class.
GKPlayerConnectionStateAn enumeration whose values specify the connection state of a GKPlayer.
GKPlayerEventArgsProvides data for the GKPlayerEventArgs.ReceivedAcceptFromHostedPlayer event.
GKPlayerPhotoLoadedA delegate used with GKPlayer.LoadPhoto to specify behavior after the photo is loaded.
GKPlayersEventArgsProvides data for the GKPlayersEventArgs.DidFindPlayers event.
GKPlayersHandlerA delegate used with GKPlayer.LoadPlayersForIdentifiers to specify behavior to happen after the players are loaded.
GKPlayerStateUpdateHandlerA delegate used with GKVoiceChat.PlayerStateUpdateHandler that specifies behavior when the player's GKVoicePlayerState changes.
GKQueryHandlerA delegate used with GKMatchmaker.QueryActivity and GKMatchmaker.QueryPlayerGroupActivity to specify behavior after the query is completed.
GKSavedGameContains information that is needed to locate and load a saved game.
GKSavedGameListenerApplication developers override this clas to respond to conflicts or player modifications in saved games.
GKSavedGameListener_ExtensionsExtension methods to the IGKSavedGameListener interface to support all the methods from the GKSavedGameListener protocol.
GKScoreInformation about a game score.
GKScoreChallengeA GKChallenge based on a GKScore. Success requires equaling or bettering the score.
GKScoresLoadedHandlerA delegate used with GKLeaderboard.LoadScores that specifies behavior after the scores are loaded.
GKSendDataModeAn enumeration that allows data transmission to trade off speed for reliability.
GKSessionProvides the functionality necessary to discover and connect to nearby iPhones and iPads over Bluetooth.
GKSessionDelegateDelegate for the GKSession class.
GKSessionDelegate_ExtensionsExtension methods to the IGKSessionDelegate interface to support all the methods from the GKSessionDelegate protocol.
GKSessionModeThe session mode.
GKStateEventArgsProvides data for the GKStateEventArgs.StateChanged event.
GKTransportType
GKTurnBasedEventHandlerA singleton object used to respond to important messages relating to turn-based matches.
GKTurnBasedEventHandlerDelegateA delegate object that is allows fine-grained response to GKTurnBasedEventHandler events.
GKTurnBasedEventHandlerDelegate_ExtensionsExtension methods to the IGKTurnBasedEventHandlerDelegate interface to support all the methods from the GKTurnBasedEventHandlerDelegate protocol.
GKTurnBasedEventListenerListens for events in turn-based games.
GKTurnBasedEventListener_ExtensionsExtension methods to the IGKTurnBasedEventListener interface to support all the methods from the GKTurnBasedEventListener protocol.
GKTurnBasedExchangeManages the exchange of turn data, accounting for game actions that players take either in turn or out of turn.
GKTurnBasedExchangeReplyContains a player's response to a turn exchange.
GKTurnBasedExchangeStatusEnumerates turn status information.
GKTurnBasedMatchA type of game match that uses store-and-forward to share data and allow for asynchronous turn-taking.
GKTurnBasedMatchDataA delegate that is used with GKTurnBasedMatch.LoadMatchData to specify behavior after the data is loaded.
GKTurnBasedMatchesRequestA delegate used with GKTurnBasedMatch.LoadMatches to specify behavior after the matches have been loaded.
GKTurnBasedMatchmakerViewControllerA UINavigationController that provides a standard UX for managing turn-based matches.
GKTurnBasedMatchmakerViewController+GKTurnBasedMatchmakerViewControllerAppearanceAppearance class for objects of type GKTurnBasedMatchmakerViewController.
GKTurnBasedMatchmakerViewControllerDelegateA delegate object that allows fine-grained response to GKTurnBasedMatchmakerViewController events.
GKTurnBasedMatchOutcomeAn enumeration whose values specify valid outcomes of turn-based matches.
GKTurnBasedMatchRequestA delegate that specifies the completion handler for GKTurnBasedMatch.FindMatch.
GKTurnBasedMatchStatusAn eumeration whose values specify the status of a turn-based match. (See GKTurnBasedMatch.Status.)
GKTurnBasedParticipantStores information about a participant in a turn-based match.
GKTurnBasedParticipantStatusAn enumeration whose values specify the status of turn-based participants. (See GKTurnBasedParticipant.Status.)
GKVoiceChatAn object that allows players in a match to speak to each other.
GKVoiceChatClientThe model that GKVoiceChatService uses.
GKVoiceChatClient_ExtensionsExtension methods to the IGKVoiceChatClient interface to support all the methods from the GKVoiceChatClient protocol.
GKVoiceChatPlayerStateAn enumeration whose values specify the state of a GKVoiceChat channel. (See GKPlayerStateUpdateHandler.)
GKVoiceChatServiceProvides voice chat over connected iPhones/iPads.
GKVoiceChatServiceErrorErrors returned by the GKVoiceChatService.
GKVoiceChatServiceErrorExtensionsExtension methods for the MonoTouch.GameKit.GKVoiceChatServiceError enumeration.
IGKAchievementViewControllerDelegateInterface representing the required methods (if any) of the protocol GKAchievementViewControllerDelegate.
IGKChallengeEventHandlerDelegateInterface representing the required methods (if any) of the protocol GKChallengeEventHandlerDelegate.
IGKChallengeListenerInterface representing the required methods (if any) of the protocol GKChallengeListener.
IGKFriendRequestComposeViewControllerDelegateInterface representing the required methods (if any) of the protocol GKFriendRequestComposeViewControllerDelegate.
IGKGameCenterControllerDelegateInterface representing the required methods (if any) of the protocol GKGameCenterControllerDelegate.
IGKGameSessionEventListener
IGKInviteEventListenerInterface representing the required methods (if any) of the protocol GKInviteEventListener.
IGKLeaderboardViewControllerDelegateInterface representing the required methods (if any) of the protocol GKLeaderboardViewControllerDelegate.
IGKLocalPlayerListenerInterface representing the required methods (if any) of the protocol GKLocalPlayerListener.
IGKMatchDelegateInterface representing the required methods (if any) of the protocol GKMatchDelegate.
IGKMatchmakerViewControllerDelegateInterface representing the required methods (if any) of the protocol GKMatchmakerViewControllerDelegate.
IGKPeerPickerControllerDelegateInterface representing the required methods (if any) of the protocol GKPeerPickerControllerDelegate.
IGKSavedGameListenerInterface representing the required methods (if any) of the protocol GKSavedGameListener.
IGKSessionDelegateInterface representing the required methods (if any) of the protocol GKSessionDelegate.
IGKTurnBasedEventHandlerDelegateInterface representing the required methods (if any) of the protocol GKTurnBasedEventHandlerDelegate.
IGKTurnBasedEventListenerInterface representing the required methods (if any) of the protocol GKTurnBasedEventListener.
IGKTurnBasedMatchmakerViewControllerDelegateInterface representing the required methods (if any) of the protocol GKTurnBasedMatchmakerViewControllerDelegate.
IGKVoiceChatClientInterface representing the required methods (if any) of the protocol GKVoiceChatClient.