Dela via


SpatialAnchorExportPurpose Enum

Definition

Specifies the purpose of a given spatial anchor export, sharing or relocalization.

public enum class SpatialAnchorExportPurpose
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class SpatialAnchorExportPurpose
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum SpatialAnchorExportPurpose
var value = Windows.Perception.Spatial.SpatialAnchorExportPurpose.relocalization
Public Enum SpatialAnchorExportPurpose
Inheritance
SpatialAnchorExportPurpose
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)
App capabilities
spatialPerception

Fields

Name Value Description
Relocalization 0

This export is to relocalize an existing spatial anchor.

Sharing 1

This export is to share a new spatial anchor.

Applies to