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 booleanequals(java.lang.Object that)java.lang.StringgetId()Get id of this identifierinthashCode()protected UnknownIdentifiersetRawId(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:
setRawIdin classCommunicationIdentifier- Parameters:
rawId- full id of the identifier- Returns:
- UnknownIdentifier object itself
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equalsin classCommunicationIdentifier
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCommunicationIdentifier
-
-