public class EddystoneEID
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
EddystoneEID.AttachmentInfo
Attachment data class
|
Modifier and Type | Field and Description |
---|---|
java.util.List<EddystoneEID.AttachmentInfo> |
attachmentInfos
List of attachment data
|
java.lang.String |
beaconName
Resolved beacon name
|
static android.os.Parcelable.Creator<EddystoneEID> |
CREATOR |
java.lang.String |
description
Beacon description as set in cloud
|
java.lang.String |
eid
Beacon transmitted ephemeral id
|
Modifier | Constructor and Description |
---|---|
protected |
EddystoneEID(android.os.Parcel in) |
|
EddystoneEID(java.lang.String eid)
Constructor for eids not resolved yet
|
|
EddystoneEID(java.lang.String eid,
Beacons.BeaconInfo beaconInfo)
Constructs object from google api response
|
|
EddystoneEID(java.lang.String eid,
java.lang.String beaconName,
java.lang.String description,
java.util.List<EddystoneEID.AttachmentInfo> attachmentInfos,
boolean isResolved)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
boolean |
hasAttachments()
If this object has any attachments
|
int |
hashCode() |
boolean |
isResolved()
Flag for checking if this beacon has been resolved
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<EddystoneEID> CREATOR
public final java.lang.String eid
public final java.lang.String beaconName
public final java.lang.String description
public final java.util.List<EddystoneEID.AttachmentInfo> attachmentInfos
public EddystoneEID(java.lang.String eid, java.lang.String beaconName, java.lang.String description, java.util.List<EddystoneEID.AttachmentInfo> attachmentInfos, boolean isResolved)
public EddystoneEID(java.lang.String eid)
public EddystoneEID(java.lang.String eid, Beacons.BeaconInfo beaconInfo)
beaconInfo
- protected EddystoneEID(android.os.Parcel in)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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 java.lang.String toString()
toString
in class java.lang.Object
public boolean hasAttachments()
public boolean isResolved()