BluetoothSocketSettings.IsEncryptionRequired 属性

定义

检查是否为蓝牙套接字启用了加密。

public bool IsEncryptionRequired { [Android.Runtime.Register("isEncryptionRequired", "()Z", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("isEncryptionRequired", "()Z", "", ApiSince=36)>]
member this.IsEncryptionRequired : bool

属性值

属性

注解

检查是否为蓝牙套接字启用了加密。

默认值为 false.

Java文档android.bluetooth.BluetoothSocketSettings.isEncryptionRequired()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于