MCBrowserViewControllerDelegate_Extensions.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.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool ShouldPresentNearbyPeer(this MultipeerConnectivity.IMCBrowserViewControllerDelegate This, MultipeerConnectivity.MCBrowserViewController browserViewController, MultipeerConnectivity.MCPeerID peerID, Foundation.NSDictionary? info);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ShouldPresentNearbyPeer : MultipeerConnectivity.IMCBrowserViewControllerDelegate * 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