Instance Property

session

The multipeer session to which the invited peers are connected.

Declaration

var session: MCSession { get }

Discussion

This value is set when you initialize the object, and cannot be changed later.

See Also

Initializing a Browser View Controller

init(serviceType: String, session: MCSession)

Initializes a browser view controller using the provided service type and session.

init(browser: MCNearbyServiceBrowser, session: MCSession)

Initializes a browser view controller with the provided browser and session.

var delegate: MCBrowserViewControllerDelegate?

The delegate object that handles browser-view-controller-related events.

var browser: MCNearbyServiceBrowser?

The browser object that is used for discovering peers.