public class Device
extends java.lang.Object
implements android.os.Parcelable
Manager
. It acts also as a container for Action
objects
and may be assigned to certain Venue
. We can obtain devices via IKontaktCloud
.
Device.Builder
.Modifier and Type | Class and Description |
---|---|
static class |
Device.Builder
Builder class that is used to build
Device instances from values configured by the setters. |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Device> |
CREATOR
Parcelable CREATOR constant.
|
Modifier | Constructor and Description |
---|---|
protected |
Device(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
void |
applyConfig(Config config)
Updates old configuration with the new one.
|
void |
applyCredentials(Credentials credentials)
Updates old credentials with the new one.
|
void |
applySecureConfig(Config secureConfig)
Updates old secure configuration with the new one.
|
static Device.Builder |
builder() |
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
EddystoneFutureUID |
extractEddystoneFutureUID()
Extracts
EddystoneFutureUID instance from Shuffles object, composed in this class. |
IBeaconFutureId |
extractIBeaconFutureId()
Extracts
IBeaconFutureId instance from Shuffles object, composed in this class. |
Access |
getAccess() |
int |
getActionsCount() |
java.lang.String |
getAlias() |
Config |
getConfig() |
DeviceType |
getDeviceType() |
java.lang.String |
getFirmware() |
java.util.UUID |
getId() |
java.lang.String |
getLatitude() |
java.lang.String |
getLongitude() |
java.lang.String |
getMac() |
java.util.UUID |
getManagerId() |
Model |
getModel() |
java.lang.String |
getQueriedBy() |
java.lang.String |
getSecureNamespace() |
java.util.UUID |
getSecureProximity() |
Shuffles |
getShuffles() |
Specification |
getSpecification() |
java.lang.String |
getUniqueId() |
Venue |
getVenue() |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Device> CREATOR
public static Device.Builder builder()
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 void applyConfig(Config config)
config
- new configuration.public void applySecureConfig(Config secureConfig)
secureConfig
- new secure configuration.public void applyCredentials(Credentials credentials)
credentials
- new credentials.public IBeaconFutureId extractIBeaconFutureId()
IBeaconFutureId
instance from Shuffles
object, composed in this class.public EddystoneFutureUID extractEddystoneFutureUID()
EddystoneFutureUID
instance from Shuffles
object, composed in this class.public java.lang.String getUniqueId()
public java.util.UUID getId()
public Shuffles getShuffles()
public java.lang.String getMac()
public java.util.UUID getSecureProximity()
public java.lang.String getSecureNamespace()
public Config getConfig()
public java.lang.String getFirmware()
public java.lang.String getAlias()
public DeviceType getDeviceType()
public Specification getSpecification()
public Model getModel()
public java.util.UUID getManagerId()
public Venue getVenue()
public int getActionsCount()
public Access getAccess()
public java.lang.String getLatitude()
public java.lang.String getLongitude()
public java.lang.String getQueriedBy()