共用方式為


CBPeripheralManagerDelegate.DidUnpublishL2CapChannel 方法

定義

[Foundation.Export("peripheralManager:didUnpublishL2CAPChannel:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidUnpublishL2CapChannel (CoreBluetooth.CBPeripheralManager peripheral, ushort psm, Foundation.NSError error);
abstract member DidUnpublishL2CapChannel : CoreBluetooth.CBPeripheralManager * uint16 * Foundation.NSError -> unit
override this.DidUnpublishL2CapChannel : CoreBluetooth.CBPeripheralManager * uint16 * Foundation.NSError -> unit

參數

peripheral
CBPeripheralManager
psm
UInt16
error
NSError

即將加入。

這個參數可以是 null

屬性

適用於