MCBrowserViewController.FoundPeer 方法

定义

找到对等方时调用的方法。

[Foundation.Export("browser:foundPeer:withDiscoveryInfo:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void FoundPeer (MultipeerConnectivity.MCNearbyServiceBrowser browser, MultipeerConnectivity.MCPeerID peerID, Foundation.NSDictionary info);
abstract member FoundPeer : MultipeerConnectivity.MCNearbyServiceBrowser * MultipeerConnectivity.MCPeerID * Foundation.NSDictionary -> unit
override this.FoundPeer : MultipeerConnectivity.MCNearbyServiceBrowser * MultipeerConnectivity.MCPeerID * Foundation.NSDictionary -> unit

参数

peerID
MCPeerID

实现

属性

适用于