Package apple.gamekit.protocol
Interface GKSessionDelegate
-
@Deprecated public interface GKSessionDelegateDeprecated.Callbacks to the GKSession delegate. API-Since: 3.0 Deprecated-Since: 7.0
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidsessionConnectionWithPeerFailedWithError(@NotNull GKSession session, @NotNull java.lang.String peerID, @NotNull NSError error)Deprecated.Indicates a connection error occurred with a peer, which includes connection request failures, or disconnects due to timeouts.default voidsessionDidFailWithError(@NotNull GKSession session, @NotNull NSError error)Deprecated.Indicates an error occurred with the session such as failing to make available.default voidsessionDidReceiveConnectionRequestFromPeer(@NotNull GKSession session, @NotNull java.lang.String peerID)Deprecated.Indicates a connection request was received from another peer.default voidsessionPeerDidChangeState(@NotNull GKSession session, @NotNull java.lang.String peerID, int state)Deprecated.
-
-
-
Method Detail
-
sessionConnectionWithPeerFailedWithError
default void sessionConnectionWithPeerFailedWithError(@NotNull @NotNull GKSession session, @NotNull @NotNull java.lang.String peerID, @NotNull @NotNull NSError error)Deprecated.Indicates a connection error occurred with a peer, which includes connection request failures, or disconnects due to timeouts.
-
sessionDidFailWithError
default void sessionDidFailWithError(@NotNull @NotNull GKSession session, @NotNull @NotNull NSError error)Deprecated.Indicates an error occurred with the session such as failing to make available.
-
sessionDidReceiveConnectionRequestFromPeer
default void sessionDidReceiveConnectionRequestFromPeer(@NotNull @NotNull GKSession session, @NotNull @NotNull java.lang.String peerID)Deprecated.Indicates a connection request was received from another peer. Accept by calling -acceptConnectionFromPeer: Deny by calling -denyConnectionFromPeer:
-
sessionPeerDidChangeState
default void sessionPeerDidChangeState(@NotNull @NotNull GKSession session, @NotNull @NotNull java.lang.String peerID, int state)Deprecated.
-
-