An iBeacon ID, which can be broadcast by BLE beacons and iOS devices.
|int||LENGTH||Length of an iBeacon ID, in bytes.|
Public Constructor Summary
Public Method Summary
Inherited Method Summary
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 IBeaconId (UUID proximityUuid, short major, short minor)
Creates an iBeacon ID.
public boolean equals (Object o)
Converts a Message of type
Message.MESSAGE_TYPE_I_BEACON_ID to an IBeaconId.
public short getMajor ()
- The major value.
public short getMinor ()
- The minor value.
public UUID getProximityUuid ()
- The proximity UUID.