Instance Property

sessionMode

The mode the session uses to find other peers.

Declaration

var sessionMode: GKSessionMode { get }

Discussion

The session mode changes the behavior of the session when isAvailable is set to true.

See Also

Information about the Session

var displayName: String!

The name of the user.

Deprecated
var peerID: String!

A string that identifies your session to other peers.

Deprecated
var sessionID: String!

A string used to filter the list of peers who are allowed to see your session.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software