public class EddystoneNamespace extends java.lang.Object implements IEddystoneNamespace
Example usage:
EddystoneNamespace namespace = new EddystoneNamespace.Builder() .identifier("The Office") .namespace("f7826da6bc5b71e0893e") .build();
Modifier and Type | Class and Description |
---|---|
static class |
EddystoneNamespace.Builder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANY_INSTANCE_ID
Value marking that any instance ID is acceptable.
|
static android.os.Parcelable.Creator<EddystoneNamespace> |
CREATOR |
static EddystoneNamespace |
EVERYWHERE
Predefined constant specifying that every visible remote Eddystone device should be notified
by Android device regardless of its belonging to the specific namespace.
|
Modifier and Type | Method and Description |
---|---|
static EddystoneNamespace.Builder |
builder() |
int |
compareTo(IEddystoneNamespace another) |
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getIdentifier() |
java.lang.String |
getInstanceId() |
java.lang.String |
getNamespace() |
java.lang.String |
getSecureNamespace() |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
public static final java.lang.String ANY_INSTANCE_ID
public static EddystoneNamespace EVERYWHERE
public static final android.os.Parcelable.Creator<EddystoneNamespace> CREATOR
public static EddystoneNamespace.Builder builder()
public java.lang.String getIdentifier()
getIdentifier
in interface IEddystoneNamespace
public java.lang.String getNamespace()
getNamespace
in interface IEddystoneNamespace
public java.lang.String getSecureNamespace()
getSecureNamespace
in interface IEddystoneNamespace
public java.lang.String getInstanceId()
getInstanceId
in interface IEddystoneNamespace
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
public int compareTo(IEddystoneNamespace another)
compareTo
in interface java.lang.Comparable<IEddystoneNamespace>
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel parcel, int flags)
writeToParcel
in interface android.os.Parcelable