public class SecureProfileUid
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SecureProfileUid> |
CREATOR
Parcelable CREATOR constant.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
static SecureProfileUid |
fromDevice(ISecureProfile fakeDevice)
Creates new SecureProfile-UID object from
ISecureProfile instance. |
static SecureProfileUid |
fromEddystoneUid(EddystoneUid eddystoneUid)
Creates new SecureProfile-UID object from
ISecureProfile instance. |
static SecureProfileUid |
fromQueriedBy(java.lang.String queriedBy)
Creates new SecureProfile-UID object from String value.
|
java.lang.String |
getInstanceId() |
java.lang.String |
getNamespace() |
int |
hashCode() |
static SecureProfileUid |
of(java.lang.String namespace,
java.lang.String instanceId)
Creates new SecureProfile-UID object with specified namespace and instance ID.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<SecureProfileUid> CREATOR
public static SecureProfileUid of(java.lang.String namespace, java.lang.String instanceId)
namespace
- the namespace.instanceId
- the instance ID.public static SecureProfileUid fromDevice(ISecureProfile fakeDevice)
ISecureProfile
instance.fakeDevice
- the SecureProfile device instance.public static SecureProfileUid fromEddystoneUid(EddystoneUid eddystoneUid)
ISecureProfile
instance.eddystoneUid
- the SecureProfile device instance.public static SecureProfileUid fromQueriedBy(java.lang.String queriedBy)
queriedBy
- the string value in namespace:instanceID format.java.lang.NullPointerException
- if input String is null.java.lang.IllegalArgumentException
- if input String has invalid format.public java.lang.String getNamespace()
public java.lang.String getInstanceId()
public java.lang.String toString()
toString
in class java.lang.Object
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