public class EddystoneUID
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<EddystoneUID> |
CREATOR |
Constructor and Description |
---|
EddystoneUID(byte[] namespace,
byte[] instance)
Constructor for Eddystone UID's
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
byte[] |
getInstance() |
byte[] |
getNamespace() |
android.os.ParcelUuid |
getUuid() |
int |
hashCode() |
void |
setInstance(byte[] instance)
Sets the eddystone uid's instance
|
void |
setNamespace(byte[] namespace)
Sets the eddystone uid's namespace
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<EddystoneUID> CREATOR
public EddystoneUID(byte[] namespace, byte[] instance)
namespace
- the 10 byte namespaceinstance
- the 6 byte instancepublic byte[] getNamespace()
public void setNamespace(byte[] namespace)
namespace
- the 10 byte namespacepublic byte[] getInstance()
public void setInstance(byte[] instance)
instance
- The 6 byte instancepublic android.os.ParcelUuid getUuid()
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 boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object