AddressType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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 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 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 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.