public class EddystoneUIDBeacon extends Beacon
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<EddystoneUIDBeacon> |
CREATOR |
Constructor and Description |
---|
EddystoneUIDBeacon(byte[] data,
android.bluetooth.BluetoothDevice device) |
EddystoneUIDBeacon(EddystoneUID uid)
Constructor for creating eddystone uid beacon advertisements
for use with
BeaconConfiguration s |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getTypeString()
Gets the type of this beacon as a string
|
EddystoneUID |
getUid() |
int |
hashCode() |
void |
setUid(EddystoneUID uid)
Sets the Uid for the Eddystone UID advertisement.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getBluetoothDevice, getDistance, getLastSeen, getName, getRSSI, getTransmissionPower, getVisibilityTimeoutInterval, isVisible, setLastSeen, setRSSI, setVisibilityTimeoutInterval, updateProperties
public static final android.os.Parcelable.Creator<EddystoneUIDBeacon> CREATOR
public EddystoneUIDBeacon(byte[] data, android.bluetooth.BluetoothDevice device)
public EddystoneUIDBeacon(EddystoneUID uid)
BeaconConfiguration
suid
- The EddystoneUID
for this advertisement.@Nullable public EddystoneUID getUid()
EddystoneUID
for this advertisement.public void setUid(EddystoneUID uid)
uid
- The EddystoneUID
for this advertisement.public java.lang.String getTypeString()
Beacon
getTypeString
in class Beacon
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class Beacon
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Beacon