GKMatchmakerViewController GKMatchmakerViewController Class

Definition

A UIViewController that presents a standard UI for inviting friends or to allow Game Center to fill remaining players for a match.

[Foundation.Register("GKMatchmakerViewController", true)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public class GKMatchmakerViewController : UIKit.UINavigationController
type GKMatchmakerViewController = class
    inherit UINavigationController
Inheritance
AppKit.NSViewControllerAppKit.NSViewController
GKMatchmakerViewControllerGKMatchmakerViewController
Attributes

Constructors

GKMatchmakerViewController(NSCoder) GKMatchmakerViewController(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

GKMatchmakerViewController(NSObjectFlag) GKMatchmakerViewController(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

GKMatchmakerViewController(GKInvite) GKMatchmakerViewController(GKInvite)
GKMatchmakerViewController(GKMatchRequest) GKMatchmakerViewController(GKMatchRequest)
GKMatchmakerViewController(IntPtr) GKMatchmakerViewController(IntPtr)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Properties

ClassHandle ClassHandle

The handle for this class.

DefaultInvitationMessage DefaultInvitationMessage

Developers should not use this deprecated property.

Hosted Hosted
MatchmakerDelegate MatchmakerDelegate
MatchRequest MatchRequest
WeakMatchmakerDelegate WeakMatchmakerDelegate

Methods

AddPlayersToMatch(GKMatch) AddPlayersToMatch(GKMatch)
Dispose(Boolean) Dispose(Boolean)

Releases the resources used by the GKMatchmakerViewController object.

SetHostedPlayerConnected(GKPlayer, Boolean) SetHostedPlayerConnected(GKPlayer, Boolean)
SetHostedPlayerConnected(String, Boolean) SetHostedPlayerConnected(String, Boolean)
SetHostedPlayerReady(String) SetHostedPlayerReady(String)

Events

DidFailWithError DidFailWithError

Event raised by the object.

DidFindHostedPlayers DidFindHostedPlayers

Event raised by the object.

DidFindMatch DidFindMatch

Event raised by the object.

DidFindPlayers DidFindPlayers

Event raised by the object.

HostedPlayerDidAccept HostedPlayerDidAccept

Event raised by the object.

ReceivedAcceptFromHostedPlayer ReceivedAcceptFromHostedPlayer

Event raised by the object.

WasCancelled WasCancelled

Event raised by the object.

Applies to

See also