Class UnknownIdentifier
- java.lang.Object
-
- com.azure.android.communication.common.CommunicationIdentifier
-
- com.azure.android.communication.common.UnknownIdentifier
-
public final class UnknownIdentifier extends CommunicationIdentifier
Catch-all for all other Communication identifiers for Communication Services
-
-
Constructor Summary
Constructors Constructor Description UnknownIdentifier(java.lang.String id)
Creates an UnknownIdentifier object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object that)
java.lang.String
getId()
Get id of this identifierint
hashCode()
protected UnknownIdentifier
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.-
Methods inherited from class com.azure.android.communication.common.CommunicationIdentifier
fromRawId, getRawId
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get id of this identifier- Returns:
- id of this identifier
-
setRawId
protected UnknownIdentifier 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:
setRawId
in classCommunicationIdentifier
- Parameters:
rawId
- full id of the identifier- Returns:
- UnknownIdentifier object itself
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classCommunicationIdentifier
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCommunicationIdentifier
-
-