public class NearableInfo
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
Nearable.BatteryLevel |
batteryLevel
Nearable's battery status
|
java.lang.Boolean |
brokenMotion
Nearable's broken motion detection flag
|
java.lang.Boolean |
brokenTemperature
Nearable's broken temperature
|
Color |
color
Nearable's color.
|
static android.os.Parcelable.Creator<NearableInfo> |
CREATOR |
java.lang.String |
identifier
Nearable's identifier
|
java.lang.Integer |
major
Nearable's major
|
java.lang.Integer |
minor
Nearable's minor
|
java.lang.String |
name
Nearable's name
|
NearableInfoSettings |
settings
Nearable's settings object
|
NearableType |
type
Nearable's category
|
java.util.UUID |
uuid
Nearable's minor
|
| Constructor and Description |
|---|
NearableInfo() |
NearableInfo(java.lang.String identifier,
java.lang.String name,
Color color,
NearableType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public java.lang.String identifier
public java.lang.String name
public Color color
public NearableType type
public Nearable.BatteryLevel batteryLevel
public java.lang.Integer minor
public java.lang.Integer major
public java.util.UUID uuid
public java.lang.Boolean brokenMotion
public java.lang.Boolean brokenTemperature
public NearableInfoSettings settings
public static final android.os.Parcelable.Creator<NearableInfo> CREATOR
public NearableInfo()
public NearableInfo(java.lang.String identifier,
java.lang.String name,
Color color,
NearableType type)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic java.lang.String toString()
toString in class java.lang.Object