共用方式為


MCBrowserViewController.LostPeer(MCNearbyServiceBrowser, MCPeerID) 方法

定義

當對等遺失時呼叫的方法。

[Foundation.Export("browser:lostPeer:")]
[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 LostPeer (MultipeerConnectivity.MCNearbyServiceBrowser browser, MultipeerConnectivity.MCPeerID peerID);
abstract member LostPeer : MultipeerConnectivity.MCNearbyServiceBrowser * MultipeerConnectivity.MCPeerID -> unit
override this.LostPeer : MultipeerConnectivity.MCNearbyServiceBrowser * MultipeerConnectivity.MCPeerID -> unit

參數

peerID
MCPeerID

實作

屬性

適用於