SessionConfiguration Class

Definition

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

public class SessionConfiguration
Inheritance
java.lang.Object
SessionConfiguration

Methods

finalize()

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

getAccessToken()

Access token for the Azure Spatial Anchors service.

getAccountDomain()

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

getAccountId()

Account-level ID for the Azure Spatial Anchors service.

getAccountKey()

Account-level key for the Azure Spatial Anchors service.

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(String value)

Access token for the Azure Spatial Anchors service.

setAccountDomain(String value)

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

setAccountId(String value)

Account-level ID for the Azure Spatial Anchors service.

setAccountKey(String value)

Account-level key for the Azure Spatial Anchors service.

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.