Class CommunicationUserIdentifier
- java.lang.Object
-
- com.azure.android.communication.common.CommunicationIdentifier
-
- com.azure.android.communication.common.CommunicationUserIdentifier
-
public final class CommunicationUserIdentifier extends CommunicationIdentifier
Communication identifier for Communication Services Users
-
-
Constructor Summary
Constructors Constructor Description CommunicationUserIdentifier(java.lang.String id)Creates a CommunicationUserIdentifier object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object that)java.lang.StringgetId()Get id of the communication user.inthashCode()protected CommunicationUserIdentifiersetRawId(java.lang.String rawId)Set full id of the identifier RawId is the encoded format for identifiers to store in databases or as stable keys in general.-
Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier
fromRawId, getRawId
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get id of the communication user.- Returns:
- id of the communication user.
-
setRawId
protected CommunicationUserIdentifier setRawId(java.lang.String rawId)
Set full id of the identifier RawId is the encoded format for identifiers to store in databases or as stable keys in general.- Overrides:
setRawIdin classCommunicationIdentifier- Parameters:
rawId- full id of the identifier- Returns:
- CommunicationUserIdentifier object itself
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classCommunicationIdentifier
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCommunicationIdentifier
-
-