@Beta public final class IntentId extends Identifier<Long> implements ResourceConsumer
This class is immutable.
identifier| Modifier and Type | Method and Description | 
|---|---|
ResourceConsumerId | 
consumerId()
Returns ID of this consumer. 
 | 
long | 
fingerprint()
Returns the backing value. 
 | 
String | 
toString()
Returns a string representation of a DeviceKeyId. 
 | 
static IntentId | 
valueOf(long value)
Creates an intent identifier from the specified long representation. 
 | 
static IntentId | 
valueOf(String id)
Creates an intent identifier from the specified String representation. 
 | 
equals, hashCode, idpublic static IntentId valueOf(long value)
value - long valuepublic static IntentId valueOf(String id)
id - hexadecimal String prefixed with 0xpublic long fingerprint()
public String toString()
IdentifiertoString in class Identifier<Long>public ResourceConsumerId consumerId()
ResourceConsumerconsumerId in interface ResourceConsumer