The mode the session uses to find other peers.
- iOS 3.0–7.0Deprecated
- macOS 10.8–10.10Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–2.0Deprecated
The session mode changes the behavior of the session when
available is set to
GKSessionsession advertises itself to local devices using its session ID.
GKSessionsession both advertises as a server and searches as a client.