Page Summary
-
IBeaconId represents an iBeacon ID broadcast by BLE beacons and iOS devices.
-
The LENGTH constant defines the size of an iBeacon ID in bytes.
-
An IBeaconId is created using a proximity UUID, major value, and minor value.
-
Methods are available to retrieve the proximity UUID, major, and minor values, as well as convert a Message to an IBeaconId.
An iBeacon ID, which can be broadcast by BLE beacons and iOS devices.
Constant Summary
| int | LENGTH | Length of an iBeacon ID, in bytes. |
Public Constructor Summary
Public Method Summary
| boolean | |
| static IBeaconId | |
| short | |
| short | |
| UUID | |
| int | hashCode
()
|
| String | toString
()
|
Inherited Method Summary
Constants
public static final int LENGTH
Length of an iBeacon ID, in bytes. An iBeacon ID consists of a 16-byte proximity UUID, followed by a 2-byte major value and a 2-byte minor value.
Public Constructors
public IBeaconId ( UUID proximityUuid, short major, short minor)
Creates an iBeacon ID.
Public Methods
public boolean equals ( Object o)
public static IBeaconId from ( Message message)
Converts a Message of type Message.MESSAGE_TYPE_I_BEACON_ID
to an IBeaconId.
public short getMajor ()
Returns the major value.
public short getMinor ()
Returns the minor value.
public UUID getProximityUuid ()
Returns the proximity UUID.

