MCBrowserViewController.FoundPeer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
找到對等時所呼叫的方法。
[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
參數
- browser
- MCNearbyServiceBrowser
- peerID
- MCPeerID
- info
- NSDictionary
實作
- 屬性