共用方式為


CBPeripheralManagerDelegate_Extensions.DidUnpublishL2CapChannel 方法

定義

[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 static void DidUnpublishL2CapChannel (this CoreBluetooth.ICBPeripheralManagerDelegate This, CoreBluetooth.CBPeripheralManager peripheral, ushort psm, Foundation.NSError error);
static member DidUnpublishL2CapChannel : CoreBluetooth.ICBPeripheralManagerDelegate * CoreBluetooth.CBPeripheralManager * uint16 * Foundation.NSError -> unit

參數

This
ICBPeripheralManagerDelegate

這個擴充方法運作所在的 實例。

peripheral
CBPeripheralManager
psm
UInt16
error
NSError

即將加入。

這個參數可以是 null

屬性

適用於