編集

次の方法で共有


CBPeripheralManager.PublishL2CapChannel(Boolean) Method

Definition

[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

Parameters

encryptionRequired
Boolean
Attributes

Applies to