pub unsafe trait GKTurnBasedMatchmakerViewControllerDelegate: NSObjectProtocol {
// Provided methods
unsafe fn turnBasedMatchmakerViewControllerWasCancelled(
&self,
view_controller: &GKTurnBasedMatchmakerViewController,
)
where Self: Sized + Message { ... }
unsafe fn turnBasedMatchmakerViewController_didFailWithError(
&self,
view_controller: &GKTurnBasedMatchmakerViewController,
error: &NSError,
)
where Self: Sized + Message { ... }
unsafe fn turnBasedMatchmakerViewController_didFindMatch(
&self,
view_controller: &GKTurnBasedMatchmakerViewController,
match: &GKTurnBasedMatch,
)
where Self: Sized + Message { ... }
unsafe fn turnBasedMatchmakerViewController_playerQuitForMatch(
&self,
view_controller: &GKTurnBasedMatchmakerViewController,
match: &GKTurnBasedMatch,
)
where Self: Sized + Message { ... }
}Available on crate feature
GKTurnBasedMatchmakerViewController only.Expand description
Provided Methods§
Sourceunsafe fn turnBasedMatchmakerViewControllerWasCancelled(
&self,
view_controller: &GKTurnBasedMatchmakerViewController,
)
Available on crate feature objc2-app-kit and macOS only.
unsafe fn turnBasedMatchmakerViewControllerWasCancelled( &self, view_controller: &GKTurnBasedMatchmakerViewController, )
objc2-app-kit and macOS only.The user has cancelled
Sourceunsafe fn turnBasedMatchmakerViewController_didFailWithError(
&self,
view_controller: &GKTurnBasedMatchmakerViewController,
error: &NSError,
)
Available on crate feature objc2-app-kit and macOS only.
unsafe fn turnBasedMatchmakerViewController_didFailWithError( &self, view_controller: &GKTurnBasedMatchmakerViewController, error: &NSError, )
objc2-app-kit and macOS only.Matchmaking has failed with an error
unsafe fn turnBasedMatchmakerViewController_didFindMatch( &self, view_controller: &GKTurnBasedMatchmakerViewController, match: &GKTurnBasedMatch, )
👎Deprecated
Available on crate feature
GKTurnBasedMatch and crate feature objc2-app-kit and macOS only.unsafe fn turnBasedMatchmakerViewController_playerQuitForMatch( &self, view_controller: &GKTurnBasedMatchmakerViewController, match: &GKTurnBasedMatch, )
👎Deprecated
Available on crate feature
GKTurnBasedMatch and crate feature objc2-app-kit and macOS only.