Share via


SpatialAnchorTransferManager 클래스

정의

두 디바이스가 사용자 환경에서 동일한 위치를 추론할 수 있도록 디바이스 간에 공간 앵커를 전송하는 정적 메서드입니다.

public ref class SpatialAnchorTransferManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialAnchorTransferManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
class SpatialAnchorTransferManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class SpatialAnchorTransferManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public static class SpatialAnchorTransferManager
Public Class SpatialAnchorTransferManager
상속
Object Platform::Object IInspectable SpatialAnchorTransferManager
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v2.0에서 도입되었습니다.)
앱 기능
spatialPerception

설명

참고

SpatialAnchorTransferManager를 사용한 로컬 앵커 전송은 Azure Spatial Anchors보다 덜 강력한 앵커 회수를 제공하며 iOS 및 Android 디바이스는 이 접근 방식에서 지원되지 않습니다.

메서드

RequestAccessAsync()

공간 앵커를 내보내거나 가져올 앱에 대한 액세스를 요청합니다. 이를 위해서는 spatialPerception 기능이 필요합니다.

TryExportAnchorsAsync(IIterable<KeyValuePair<String,SpatialAnchor>>, IOutputStream)

나중에 다른 디바이스에서 가져올 수 있는 스트림으로 공간 앵커를 내보냅니다. 이렇게 하면 두 디바이스가 사용자 환경에서 동일한 위치를 추론할 수 있습니다.

TryImportAnchorsAsync(IInputStream)

이전에 다른 디바이스에서 내보낸 공간 앵커 스트림을 가져옵니다. 이렇게 하면 두 디바이스가 사용자 환경에서 동일한 위치를 추론할 수 있습니다.

적용 대상