Partager via


MicrosoftTeamsAppIdentifier Class

public final class MicrosoftTeamsAppIdentifier
extends CommunicationIdentifier

Communication identifier for Microsoft Teams Application

Constructor Summary

Constructor Description
MicrosoftTeamsAppIdentifier(String appId)

Creates a MicrosoftTeamsAppIdentifier object

MicrosoftTeamsAppIdentifier(String appId, CommunicationCloudEnvironment cloudEnvironment)

Creates a MicrosoftTeamsAppIdentifier object

Method Summary

Modifier and Type Method and Description
boolean equals(Object that)
String getAppId()

Get application ID

CommunicationCloudEnvironment getCloudEnvironment()

Get cloud environment of the application identifier

int hashCode()
protected MicrosoftTeamsAppIdentifier 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.

Methods inherited from CommunicationIdentifier

Methods inherited from java.lang.Object

Constructor Details

MicrosoftTeamsAppIdentifier

public MicrosoftTeamsAppIdentifier(String appId)

Creates a MicrosoftTeamsAppIdentifier object

Parameters:

appId - ID of the Microsoft Teams Application.

MicrosoftTeamsAppIdentifier

public MicrosoftTeamsAppIdentifier(String appId, CommunicationCloudEnvironment cloudEnvironment)

Creates a MicrosoftTeamsAppIdentifier object

Parameters:

appId - ID of the Microsoft Teams Application.
cloudEnvironment - the cloud environment in which this identifier is created.

Method Details

equals

public boolean equals(Object that)

Overrides:

MicrosoftTeamsAppIdentifier.equals(Object that)

Parameters:

that

getAppId

public String getAppId()

Get application ID

Returns:

ID of the Microsoft Teams Application.

getCloudEnvironment

public CommunicationCloudEnvironment getCloudEnvironment()

Get cloud environment of the application identifier

Returns:

cloud environment in which this identifier is created.

hashCode

public int hashCode()

Overrides:

MicrosoftTeamsAppIdentifier.hashCode()

setRawId

protected MicrosoftTeamsAppIdentifier 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.

Overrides:

MicrosoftTeamsAppIdentifier.setRawId(String rawId)

Parameters:

rawId - full ID of the identifier.

Returns:

MicrosoftTeamsAppIdentifier object itself.

Applies to