Megosztás a következőn keresztül:


SessionConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.spatialanchors.SessionConfiguration

public class SessionConfiguration

Use this class to set up the service configuration for a SpatialAnchorSession.

Method Summary

Modifier and Type Method and Description
void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

String getAccessToken()

Access token for the Azure Spatial Anchors service.

String getAccountDomain()

Account domain for the Azure Spatial Anchors service. The default is "mixedreality.azure.com".

String getAccountId()

Account-level ID for the Azure Spatial Anchors service.

String getAccountKey()

Account-level key for the Azure Spatial Anchors service.

String getAuthenticationToken()

Authentication token for Azure Active Directory (AAD). If the access token and the account key are missing, the session will obtain an access token based on this value.

void setAccessToken(String value)

Access token for the Azure Spatial Anchors service.

void setAccountDomain(String value)

Account domain for the Azure Spatial Anchors service. The default is "mixedreality.azure.com".

void setAccountId(String value)

Account-level ID for the Azure Spatial Anchors service.

void setAccountKey(String value)

Account-level key for the Azure Spatial Anchors service.

void setAuthenticationToken(String value)

Authentication token for Azure Active Directory (AAD). If the access token and the account key are missing, the session will obtain an access token based on this value.

Method Details

finalize

protected void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

getAccessToken

public String getAccessToken()

Access token for the Azure Spatial Anchors service.

getAccountDomain

public String getAccountDomain()

Account domain for the Azure Spatial Anchors service. The default is "mixedreality.azure.com".

getAccountId

public String getAccountId()

Account-level ID for the Azure Spatial Anchors service.

getAccountKey

public String getAccountKey()

Account-level key for the Azure Spatial Anchors service.

getAuthenticationToken

public String getAuthenticationToken()

Authentication token for Azure Active Directory (AAD). If the access token and the account key are missing, the session will obtain an access token based on this value.

setAccessToken

public void setAccessToken(String value)

Access token for the Azure Spatial Anchors service.

Parameters:

value - The new value.

setAccountDomain

public void setAccountDomain(String value)

Account domain for the Azure Spatial Anchors service. The default is "mixedreality.azure.com".

Parameters:

value - The new value.

setAccountId

public void setAccountId(String value)

Account-level ID for the Azure Spatial Anchors service.

Parameters:

value - The new value.

setAccountKey

public void setAccountKey(String value)

Account-level key for the Azure Spatial Anchors service.

Parameters:

value - The new value.

setAuthenticationToken

public void setAuthenticationToken(String value)

Authentication token for Azure Active Directory (AAD). If the access token and the account key are missing, the session will obtain an access token based on this value.

Parameters:

value - The new value.

Applies to