public interface MCBrowserViewControllerDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
browserViewControllerDidFinish(MCBrowserViewController browserViewController)
Notifies the delegate, when the user taps the done button.
|
default boolean |
browserViewControllerShouldPresentNearbyPeerWithDiscoveryInfo(MCBrowserViewController browserViewController,
MCPeerID peerID,
NSDictionary<java.lang.String,java.lang.String> info)
Notifies delegate that a peer was found; discoveryInfo can be used to
determine whether the peer should be presented to the user, and the
delegate should return a YES if the peer should be presented; this method
is optional, if not implemented every nearby peer will be presented to
the user.
|
void |
browserViewControllerWasCancelled(MCBrowserViewController browserViewController)
Notifies delegate that the user taps the cancel button.
|
default boolean browserViewControllerShouldPresentNearbyPeerWithDiscoveryInfo(MCBrowserViewController browserViewController, MCPeerID peerID, NSDictionary<java.lang.String,java.lang.String> info)
void browserViewControllerDidFinish(MCBrowserViewController browserViewController)
void browserViewControllerWasCancelled(MCBrowserViewController browserViewController)