AddressType
Represents the type of Bluetooth address.
Every Bluetooth LE device is identified by a unique 48-bit address. Bluetooth addresses are categorized as either public or random. Random addresses are further classified as either static or private, depending on whether they change or not. And lastly, private addresses are either resolvable or non-resolvable. The image below shows how Bluetooth addresses are categorized.
Note that random and private addresses are merely classification types and not actual address types.
Learn more at DevAcademy.
Entries
A random static address.
A Resolvable Private Address (RPA) is resolvable as intended listeners have a pre-shared key by which they can figure out the new address every time it changes.
A non-resolvable private address is not resolvable by other devices and is only intended as a way to prevent tracking. This type of address is not commonly used.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.