Class CommunicationUserIdentifier
java.lang.Object
com.azure.android.communication.common.CommunicationIdentifier
com.azure.android.communication.common.CommunicationUserIdentifier
Communication identifier for Communication Services Users
-
Field Summary
Fields inherited from class com.azure.android.communication.common.CommunicationIdentifier
rawId
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a CommunicationUserIdentifier object -
Method Summary
Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier
fromRawId, getRawId
-
Constructor Details
-
CommunicationUserIdentifier
Creates a CommunicationUserIdentifier object- Parameters:
id
- identifier of the communication user.- Throws:
IllegalArgumentException
- thrown if id parameter fail the validation.
-
-
Method Details
-
getId
Get id of the communication user.- Returns:
- id of the communication user.
-
equals
- Overrides:
equals
in classCommunicationIdentifier
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCommunicationIdentifier
-