MCBrowserViewController.DidNotStartBrowsingForPeers 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当浏览器无法开始查找对等时调用的方法。
[Foundation.Export("browser:didNotStartBrowsingForPeers:")]
[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 DidNotStartBrowsingForPeers (MultipeerConnectivity.MCNearbyServiceBrowser browser, Foundation.NSError error);
abstract member DidNotStartBrowsingForPeers : MultipeerConnectivity.MCNearbyServiceBrowser * Foundation.NSError -> unit
override this.DidNotStartBrowsingForPeers : MultipeerConnectivity.MCNearbyServiceBrowser * Foundation.NSError -> unit
参数
- browser
- MCNearbyServiceBrowser
- error
- NSError
- 属性