共用方式為


CBPeripheralDelegate.DidOpenL2CapChannel 方法

定義

[Foundation.Export("peripheral:didOpenL2CAPChannel: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 DidOpenL2CapChannel (CoreBluetooth.CBPeripheral peripheral, CoreBluetooth.CBL2CapChannel channel, Foundation.NSError error);
abstract member DidOpenL2CapChannel : CoreBluetooth.CBPeripheral * CoreBluetooth.CBL2CapChannel * Foundation.NSError -> unit
override this.DidOpenL2CapChannel : CoreBluetooth.CBPeripheral * CoreBluetooth.CBL2CapChannel * Foundation.NSError -> unit

參數

peripheral
CBPeripheral
channel
CBL2CapChannel

即將加入。

這個參數可以是 null

error
NSError

即將加入。

這個參數可以是 null

屬性

適用於