Поделиться через


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.

Атрибуты

Применяется к