Instance Property

displayName

The name of the user.

Declaration

var displayName: String! { get }

Discussion

The display name is transmitted to visible peers so that they can present a human-readable name for your session.

See Also

Information about the Session

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
var sessionMode: GKSessionMode

The mode the session uses to find other peers.

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