Package apple.gamekit.protocol
Interface GKPeerPickerControllerDelegate
-
public interface GKPeerPickerControllerDelegatecallbacks to the GKPeerPickerController delegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpeerPickerControllerDidCancel(GKPeerPickerController picker)Notifies delegate that the user cancelled the picker.default voidpeerPickerControllerDidConnectPeerToSession(GKPeerPickerController picker, java.lang.String peerID, GKSession session)Notifies delegate that the peer was connected to a GKSession.default voidpeerPickerControllerDidSelectConnectionType(GKPeerPickerController picker, long type)Notifies delegate that a connection type was chosen by the user.default GKSessionpeerPickerControllerSessionForConnectionType(GKPeerPickerController picker, long type)Notifies delegate that the connection type is requesting a GKSession object.
-
-
-
Method Detail
-
peerPickerControllerDidConnectPeerToSession
default void peerPickerControllerDidConnectPeerToSession(GKPeerPickerController picker, java.lang.String peerID, GKSession session)
Notifies delegate that the peer was connected to a GKSession.
-
peerPickerControllerDidSelectConnectionType
default void peerPickerControllerDidSelectConnectionType(GKPeerPickerController picker, long type)
Notifies delegate that a connection type was chosen by the user.
-
peerPickerControllerSessionForConnectionType
default GKSession peerPickerControllerSessionForConnectionType(GKPeerPickerController picker, long type)
Notifies delegate that the connection type is requesting a GKSession object. You should return a valid GKSession object for use by the picker. If this method is not implemented or returns 'nil', a default GKSession is created on the delegate's behalf.
-
peerPickerControllerDidCancel
default void peerPickerControllerDidCancel(GKPeerPickerController picker)
Notifies delegate that the user cancelled the picker.
-
-