CommunicationIdentifier Class
- java.
lang. Object - com.
azure. communication. common. CommunicationIdentifier
- com.
public abstract class CommunicationIdentifier
Common communication identifier for Communication Services
Constructor Summary
Constructor | Description | |
---|---|---|
CommunicationIdentifier() |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object that) |
static
Communication |
fromRawId(String rawId)
When storing raw |
String |
getRawId()
Returns the raw |
int | hashCode() |
protected
Communication |
setRawId(String rawId)
Set full id of the identifier Raw |
Methods inherited from java.lang.Object
Constructor Details
CommunicationIdentifier
public CommunicationIdentifier()
Method Details
equals
public boolean equals(Object that)
Overrides:
CommunicationIdentifier.equals(Object that)Parameters:
fromRawId
public static CommunicationIdentifier fromRawId(String rawId)
When storing rawIds, use this function to restore the identifier that was encoded in the rawId.
Parameters:
Returns:
getRawId
public String getRawId()
Returns the rawId for a given CommunicationIdentifier. You can use the rawId for encoding the identifier and then use it as a key in a database.
Returns:
hashCode
public int hashCode()
Overrides:
CommunicationIdentifier.hashCode()setRawId
protected CommunicationIdentifier setRawId(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.
Parameters:
Returns: