MCBrowserViewControllerDelegate.ShouldPresentNearbyPeer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates a new peer has been discovered. Can be used to avoid showing the invitation UI.
[Foundation.Export("browserViewController:shouldPresentNearbyPeer:withDiscoveryInfo:")]
public virtual bool ShouldPresentNearbyPeer (MultipeerConnectivity.MCBrowserViewController browserViewController, MultipeerConnectivity.MCPeerID peerID, Foundation.NSDictionary info);
abstract member ShouldPresentNearbyPeer : MultipeerConnectivity.MCBrowserViewController * MultipeerConnectivity.MCPeerID * Foundation.NSDictionary -> bool
override this.ShouldPresentNearbyPeer : MultipeerConnectivity.MCBrowserViewController * MultipeerConnectivity.MCPeerID * Foundation.NSDictionary -> bool
Parameters
- browserViewController
- MCBrowserViewController
- peerID
- MCPeerID
Returns
true
if the browserViewController
should be displayed to the app user.
- Attributes