java.lang.Object |
↳ |
com.google.android.gms.nearby.messages.IBeaconId |
Class Overview
An iBeacon ID, which can be broadcast by BLE beacons and iOS devices.
Summary
Constants |
int |
LENGTH |
Length of an iBeacon ID, in bytes. |
Public Constructors |
|
IBeaconId(UUID proximityUuid, short major, short minor)
Creates an iBeacon ID.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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.
Constant Value:
20
(0x00000014)
Public Constructors
public
IBeaconId
(UUID proximityUuid, short major, short minor)
Creates an iBeacon ID.
Parameters |
proximityUuid |
UUID
|
major |
short
|
minor |
short
|
Public Methods
public
boolean
equals
(Object o)
public
short
getMajor
()
Returns |
short |
The major value. |
public
short
getMinor
()
Returns |
short |
The minor value. |
public
UUID
getProximityUuid
()
Returns |
UUID |
The proximity UUID. |
public
String
toString
()