GKTurnBasedMatchmakerViewControllerDelegate

Trait GKTurnBasedMatchmakerViewControllerDelegate 

Source
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§

Source

unsafe fn turnBasedMatchmakerViewControllerWasCancelled( &self, view_controller: &GKTurnBasedMatchmakerViewController, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.

The user has cancelled

Source

unsafe fn turnBasedMatchmakerViewController_didFailWithError( &self, view_controller: &GKTurnBasedMatchmakerViewController, error: &NSError, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.

Matchmaking has failed with an error

Source

unsafe fn turnBasedMatchmakerViewController_didFindMatch( &self, view_controller: &GKTurnBasedMatchmakerViewController, match: &GKTurnBasedMatch, )
where Self: Sized + Message,

👎Deprecated
Available on crate feature GKTurnBasedMatch and crate feature objc2-app-kit and macOS only.
Source

unsafe fn turnBasedMatchmakerViewController_playerQuitForMatch( &self, view_controller: &GKTurnBasedMatchmakerViewController, match: &GKTurnBasedMatch, )
where Self: Sized + Message,

👎Deprecated
Available on crate feature GKTurnBasedMatch and crate feature objc2-app-kit and macOS only.

Trait Implementations§

Source§

impl ProtocolType for dyn GKTurnBasedMatchmakerViewControllerDelegate

Source§

const NAME: &'static str = "GKTurnBasedMatchmakerViewControllerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn GKTurnBasedMatchmakerViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> GKTurnBasedMatchmakerViewControllerDelegate for ProtocolObject<T>

Implementors§