EncryptionStatus


class EncryptionStatus
kotlin.Any
   ↳ android.bluetooth.EncryptionStatus

Represents the encryption status of a Bluetooth device.

This class is used to hold the encryption status details like key size and algorithm of a Bluetooth device.

Summary

Public constructors
EncryptionStatus(keySize: Int, algorithm: Int)

Public methods
Int

Int

String

Public constructors

Public methods

getKeySize

fun getKeySize(): Int
Return
Int the size of the encryption key, in number of bytes. i.e. value of 16 means 16-octets, or 128 bit key size. Value is between 1 and 16 inclusive

toString

fun toString(): String
Return
String a string representation of the object.