语言

EncryptionStatus(Int32, Int32) 构造函数

定义

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=36)]
public EncryptionStatus(int keySize, int algorithm);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=36)>]
new Android.Bluetooth.EncryptionStatus : int * int -> Android.Bluetooth.EncryptionStatus

参数

keySize
Int32

值介于 1 和 16 之间(含 1)

algorithm
Int32

值为下列值之一:BluetoothDevice.ENCRYPTION_ALGORITHM_NONE;BluetoothDevice.ENCRYPTION_ALGORITHM_E0;BluetoothDevice.ENCRYPTION_ALGORITHM_AES;BluetoothDevice.ENCRYPTION_ALGORITHM_UNKNOWN

特性

注解

Android 参考。android.bluetooth.EncryptionStatus.EncryptionStatus

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

适用于