CBPeripheralManagerDelegate.DidPublishL2CapChannel 方法

定义

[Foundation.Export("peripheralManager:didPublishL2CAPChannel: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 DidPublishL2CapChannel (CoreBluetooth.CBPeripheralManager peripheral, ushort psm, Foundation.NSError error);
abstract member DidPublishL2CapChannel : CoreBluetooth.CBPeripheralManager * uint16 * Foundation.NSError -> unit
override this.DidPublishL2CapChannel : CoreBluetooth.CBPeripheralManager * uint16 * Foundation.NSError -> unit

参数

peripheral
CBPeripheralManager
psm
UInt16
error
NSError

内容待定。

此参数可以为 null

属性

适用于