Language

AddressType Enum

Definition

Specifies the kind of Bluetooth device address.

public enum AddressType
type AddressType = 
Inheritance
AddressType

Fields

Name Value Description
Public 0

Hardware MAC Address of the device

Android reference for android.bluetooth.BluetoothDevice.ADDRESS_TYPE_PUBLIC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Random 1

Address is either resolvable, non-resolvable or static.

Android reference for android.bluetooth.BluetoothDevice.ADDRESS_TYPE_RANDOM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Anonymous 255

Address type used to indicate an anonymous advertisement.

Android reference for android.bluetooth.BluetoothDevice.ADDRESS_TYPE_ANONYMOUS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Unknown 65535

Address type is unknown or unavailable

Android reference for android.bluetooth.BluetoothDevice.ADDRESS_TYPE_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The codes distinguish public and random addresses, anonymous advertisements, and an unknown or unavailable address type.

Applies to