Package apple.gamekit.protocol
Interface GKPeerPickerControllerDelegate
-
@Deprecated public interface GKPeerPickerControllerDelegateDeprecated.callbacks to the GKPeerPickerController delegate API-Since: 3.0 Deprecated-Since: 7.0 Deprecated-Message: Use MCBrowserViewController along with MCBrowserViewControllerDelegate from the MultipeerConnectivity framework.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidpeerPickerControllerDidCancel(@NotNull GKPeerPickerController picker)Deprecated.Notifies delegate that the user cancelled the picker.default voidpeerPickerControllerDidConnectPeerToSession(@NotNull GKPeerPickerController picker, @NotNull java.lang.String peerID, @NotNull GKSession session)Deprecated.Notifies delegate that the peer was connected to a GKSession.default voidpeerPickerControllerDidSelectConnectionType(@NotNull GKPeerPickerController picker, long type)Deprecated.Notifies delegate that a connection type was chosen by the user.default @NotNull GKSessionpeerPickerControllerSessionForConnectionType(@NotNull GKPeerPickerController picker, long type)Deprecated.Notifies delegate that the connection type is requesting a GKSession object.
-
-
-
Method Detail
-
peerPickerControllerDidConnectPeerToSession
default void peerPickerControllerDidConnectPeerToSession(@NotNull @NotNull GKPeerPickerController picker, @NotNull @NotNull java.lang.String peerID, @NotNull @NotNull GKSession session)Deprecated.Notifies delegate that the peer was connected to a GKSession.
-
peerPickerControllerDidSelectConnectionType
default void peerPickerControllerDidSelectConnectionType(@NotNull @NotNull GKPeerPickerController picker, long type)Deprecated.Notifies delegate that a connection type was chosen by the user.
-
peerPickerControllerSessionForConnectionType
@NotNull default @NotNull GKSession peerPickerControllerSessionForConnectionType(@NotNull @NotNull GKPeerPickerController picker, long type)
Deprecated.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(@NotNull @NotNull GKPeerPickerController picker)Deprecated.Notifies delegate that the user cancelled the picker.
-
-