public class EstimoteLocation extends Packet
Modifier and Type | Field and Description |
---|---|
int |
channel
Bluetooth channel where this packet was advertised.
|
static android.os.Parcelable.Creator<EstimoteLocation> |
CREATOR |
DeviceId |
id
Id of device that isbroadcasting this packet.
|
int |
rssi
Received Signal Strength Indicator of given packet.
|
int |
txPower
Transfer power of given packet.
|
packetType
Constructor and Description |
---|
EstimoteLocation(DeviceId id,
int rssi,
int txPower,
int channel) |
EstimoteLocation(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getUniqueKey()
Returns unique key for this packet to identify it between other
Packet objects. |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getPacketType
public final DeviceId id
public final int rssi
public final int txPower
public final int channel
public static final android.os.Parcelable.Creator<EstimoteLocation> CREATOR
public EstimoteLocation(DeviceId id, int rssi, int txPower, int channel)
public EstimoteLocation(android.os.Parcel in)
public java.lang.String getUniqueKey()
Packet
Packet
objects.
Child classes should implement this method.getUniqueKey
in class Packet
public int describeContents()
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Packet
public java.lang.String toString()
toString
in class java.lang.Object