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) |
getPacketTypepublic 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()
PacketPacket objects.
Child classes should implement this method.getUniqueKey in class Packetpublic int describeContents()
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.ParcelablewriteToParcel in class Packetpublic java.lang.String toString()
toString in class java.lang.Object