public class EddystoneDevice extends java.lang.Object implements IEddystoneDevice
IEddystoneDevice implementation.| Modifier and Type | Class and Description |
|---|---|
static class |
EddystoneDevice.Builder |
RemoteBluetoothDevice.Characteristics| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<EddystoneDevice> |
CREATOR
Parcelable constant CREATOR.
|
| Modifier and Type | Method and Description |
|---|---|
static EddystoneDevice.Builder |
builder() |
int |
compareTo(IEddystoneDevice another) |
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAddress() |
int |
getBatteryPower() |
double |
getDistance() |
java.lang.String |
getFirmwareVersion() |
java.lang.String |
getInstanceId() |
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
byte[] |
getPassword() |
DeviceProfile |
getProfile() |
Proximity |
getProximity() |
int |
getRssi() |
Telemetry |
getTelemetry() |
long |
getTimestamp() |
int |
getTxPower() |
java.lang.String |
getUniqueId() |
java.lang.String |
getUrl() |
int |
hashCode() |
boolean |
isShuffled() |
void |
setInstanceId(java.lang.String instanceId) |
void |
setNamespace(java.lang.String namespace) |
void |
setPassword(byte[] password) |
void |
setTelemetry(Telemetry telemetry) |
void |
setUrl(java.lang.String url) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<EddystoneDevice> CREATOR
public static EddystoneDevice.Builder builder()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(IEddystoneDevice another)
compareTo in interface java.lang.Comparable<IEddystoneDevice>public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic double getDistance()
getDistance in interface RemoteBluetoothDevicepublic long getTimestamp()
getTimestamp in interface RemoteBluetoothDevicepublic java.lang.String getAddress()
getAddress in interface RemoteBluetoothDevicepublic Proximity getProximity()
getProximity in interface RemoteBluetoothDevicepublic int getRssi()
getRssi in interface RemoteBluetoothDevicepublic byte[] getPassword()
getPassword in interface RemoteBluetoothDevicepublic void setPassword(byte[] password)
setPassword in interface RemoteBluetoothDevicepublic java.lang.String getFirmwareVersion()
getFirmwareVersion in interface RemoteBluetoothDevicepublic java.lang.String getName()
getName in interface RemoteBluetoothDevicepublic java.lang.String getUniqueId()
getUniqueId in interface RemoteBluetoothDevicepublic int getBatteryPower()
getBatteryPower in interface RemoteBluetoothDevicepublic java.lang.String getNamespace()
getNamespace in interface IEddystoneDevicepublic void setNamespace(java.lang.String namespace)
public java.lang.String getInstanceId()
getInstanceId in interface IEddystoneDevicepublic void setInstanceId(java.lang.String instanceId)
public int getTxPower()
getTxPower in interface RemoteBluetoothDevicepublic DeviceProfile getProfile()
getProfile in interface RemoteBluetoothDevicepublic java.lang.String getUrl()
getUrl in interface IEddystoneDevicepublic void setUrl(java.lang.String url)
public Telemetry getTelemetry()
getTelemetry in interface IEddystoneDevicepublic void setTelemetry(Telemetry telemetry)
public boolean isShuffled()
isShuffled in interface RemoteBluetoothDevice