CBPeripheralManager.PublishL2CapChannel(Boolean) 方法

定义

[Foundation.Export("publishL2CAPChannelWithEncryption:")]
[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.Arch64, null)]
public virtual void PublishL2CapChannel (bool encryptionRequired);
abstract member PublishL2CapChannel : bool -> unit
override this.PublishL2CapChannel : bool -> unit

参数

encryptionRequired
Boolean
属性

适用于