Share via


MCBrowserViewControllerDelegate_Extensions.ShouldPresentNearbyPeer Method

Definition

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
info
NSDictionary

To be added.

This parameter can be null.

Returns

true if the browserViewController should be displayed to the app user.

Attributes

Applies to