public class SecureCommand
extends java.lang.Object
implements android.os.Parcelable
Device
. Every secure command
consists of encrypted String config value and a device's unique ID.
IKontaktCloud
.Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SecureCommand> |
CREATOR
Parcelable CREATOR constant.
|
Modifier | Constructor and Description |
---|---|
protected |
SecureCommand(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
static SecureCommand |
create(java.lang.String config,
java.lang.String uniqueId)
Constructs new secure command with specified config and device's unique ID.
|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfig() |
java.lang.String |
getUniqueId() |
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<SecureCommand> CREATOR
public static SecureCommand create(java.lang.String config, java.lang.String uniqueId)
config
- the secure config encrypted value.uniqueId
- the device's unique ID.public java.lang.String getConfig()
public java.lang.String getUniqueId()
public boolean equals(java.lang.Object obj)
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