次の方法で共有


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

実装

属性

適用対象