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 |
getEid() |
java.lang.String |
getEncryptedTelemetry() |
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 |
setEid(java.lang.String eid) |
void |
setEncryptedTelemetry(java.lang.String encryptedTelemetry) |
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.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(IEddystoneDevice another)
compareTo
in interface java.lang.Comparable<IEddystoneDevice>
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public double getDistance()
getDistance
in interface RemoteBluetoothDevice
public long getTimestamp()
getTimestamp
in interface RemoteBluetoothDevice
public java.lang.String getAddress()
getAddress
in interface RemoteBluetoothDevice
public Proximity getProximity()
getProximity
in interface RemoteBluetoothDevice
public int getRssi()
getRssi
in interface RemoteBluetoothDevice
public byte[] getPassword()
getPassword
in interface RemoteBluetoothDevice
public void setPassword(byte[] password)
setPassword
in interface RemoteBluetoothDevice
public java.lang.String getFirmwareVersion()
getFirmwareVersion
in interface RemoteBluetoothDevice
public java.lang.String getName()
getName
in interface RemoteBluetoothDevice
public java.lang.String getUniqueId()
getUniqueId
in interface RemoteBluetoothDevice
public int getBatteryPower()
getBatteryPower
in interface RemoteBluetoothDevice
public java.lang.String getNamespace()
getNamespace
in interface IEddystoneDevice
public void setNamespace(java.lang.String namespace)
public java.lang.String getInstanceId()
getInstanceId
in interface IEddystoneDevice
public void setInstanceId(java.lang.String instanceId)
public int getTxPower()
getTxPower
in interface RemoteBluetoothDevice
public DeviceProfile getProfile()
getProfile
in interface RemoteBluetoothDevice
public java.lang.String getUrl()
getUrl
in interface IEddystoneDevice
public void setUrl(java.lang.String url)
public Telemetry getTelemetry()
getTelemetry
in interface IEddystoneDevice
public void setTelemetry(Telemetry telemetry)
public java.lang.String getEncryptedTelemetry()
getEncryptedTelemetry
in interface IEddystoneDevice
public void setEncryptedTelemetry(java.lang.String encryptedTelemetry)
public java.lang.String getEid()
getEid
in interface IEddystoneDevice
public void setEid(java.lang.String eid)
public boolean isShuffled()
isShuffled
in interface RemoteBluetoothDevice