Protocol

MCBrowserViewControllerDelegate

The MCBrowserViewControllerDelegate protocol defines the methods that your delegate object can implement to handle events related to the MCBrowserViewController class.

Declaration

@protocol MCBrowserViewControllerDelegate

Overview

No assumption should be made about which queue the delegate methods are called on. It is the receiver’s responsibility to ensure that any UIKit-related updates are called on the main thread.

Topics

Peer Notifications

- browserViewController:shouldPresentNearbyPeer:withDiscoveryInfo:

Called when a new peer is discovered to decide whether to show it in the user interface.

User Action Notifications

- browserViewControllerDidFinish:

Called when the browser view controller is dismissed with peers connected in a session.

Required.

- browserViewControllerWasCancelled:

Called when the user cancels the browser view controller.

Required.

Relationships

Inherits From