Class GKSessionMode


  • public final class GKSessionMode
    extends java.lang.Object
    Specifies how GKSession behaves when it is made available.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int Client
      delegate will get -didReceiveConnectionRequestFromPeer callback when a client wants to connect
      static int Peer
      delegate will get -session:peer:didChangeState: callback with GKPeerStateAvailable, or GKPeerStateUnavailable for discovered servers
      static int Server  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Client

        public static final int Client
        delegate will get -didReceiveConnectionRequestFromPeer callback when a client wants to connect
        See Also:
        Constant Field Values
      • Peer

        public static final int Peer
        delegate will get -session:peer:didChangeState: callback with GKPeerStateAvailable, or GKPeerStateUnavailable for discovered servers
        See Also:
        Constant Field Values