Düzenle

Aracılığıyla paylaş


MCBrowserViewControllerDelegate.ShouldPresentNearbyPeer Method

Definition

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