Show / Hide Table of Contents

    Class SpatialAnchorsConfiguration

    Azure Spatial Anchors configuration.

    Inheritance
    Object
    SpatialAnchorsConfiguration
    Implements
    ISpatialLocalizationSettings
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.SpectatorView
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class SpatialAnchorsConfiguration : ISpatialLocalizationSettings

    Constructors

    SpatialAnchorsConfiguration()

    Declaration
    public SpatialAnchorsConfiguration()

    Fields

    AccessToken

    Declaration
    public string AccessToken
    Field Value
    Type Description
    String

    AccountDomain

    Declaration
    public string AccountDomain
    Field Value
    Type Description
    String

    AccountId

    The Azure Spatial Anchors service Account Id from Azure portal. NOTE: These values should be used for development/prototyping. In the shipping application its strongly recommended to use user-based or server-based AAD authentication approaches.

    Declaration
    public string AccountId
    Field Value
    Type Description
    String

    AccountKey

    The Azure Spatial Anchors service Account Key from Azure portal. NOTE: These values should be used for development/prototyping. In the shipping application its strongly recommended to use user-based or server-based AAD authentication approaches.

    Declaration
    public string AccountKey
    Field Value
    Type Description
    String

    AuthenticationToken

    The AAD Authentication Token to use for Azure Spatial Anchors. NOTE: An Authentication Token is not needed if the AccountDomain, AccountId and AccountKey have been populated.

    Declaration
    public string AuthenticationToken
    Field Value
    Type Description
    String

    Properties

    IsCoordinateCreator

    Declaration
    public bool IsCoordinateCreator { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Serialize(BinaryWriter)

    Declaration
    public void Serialize(BinaryWriter writer)
    Parameters
    Type Name Description
    BinaryWriter writer

    TryDeserialize(BinaryReader, out SpatialAnchorsConfiguration)

    Declaration
    public static bool TryDeserialize(BinaryReader reader, out SpatialAnchorsConfiguration configuration)
    Parameters
    Type Name Description
    BinaryReader reader
    SpatialAnchorsConfiguration configuration
    Returns
    Type Description
    Boolean

    Implements

    ISpatialLocalizationSettings
    In This Article
    • Constructors
      • SpatialAnchorsConfiguration()
    • Fields
      • AccessToken
      • AccountDomain
      • AccountId
      • AccountKey
      • AuthenticationToken
    • Properties
      • IsCoordinateCreator
    • Methods
      • Serialize(BinaryWriter)
      • TryDeserialize(BinaryReader, out SpatialAnchorsConfiguration)
    • Implements
    Back to top Generated by DocFX