Class CloudSpatialAnchorSessionDiagnostics
Declaration
struct winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchorSessionDiagnostics
Description
Use this class to configure session diagnostics that can be collected and submitted to improve system quality.
Methods
CreateManifestAsync
Creates a manifest of log files and submission information to be uploaded.
Windows::Foundation::IAsyncOperation<hstring> CreateManifestAsync(hstring const& description);
Parameters
description
- Description to be added to the diagnostics manifest.
Returns
Windows::Foundation::IAsyncOperation<hstring>
- A task that represent the manifest creation operation, including the path to a manifest file.
SubmitManifestAsync
Submits a diagnostics manifest and cleans up its resources.
Windows::Foundation::IAsyncAction SubmitManifestAsync(hstring const& manifestPath);
Parameters
manifestPath
- Path to the manifest file to submit.
Returns
Windows::Foundation::IAsyncAction
- A task that represents the asynchronous submission operation.
Properties
ImagesEnabled
Whether images should be logged.
bool ImagesEnabled();
void ImagesEnabled(bool const& value);
LogDirectory
Directory into which temporary log files and manifests are saved.
hstring LogDirectory();
void LogDirectory(hstring const& value);
LogLevel
Level of tracing to log.
winrt::Microsoft::Azure::SpatialAnchors::SessionLogLevel LogLevel();
void LogLevel(winrt::Microsoft::Azure::SpatialAnchors::SessionLogLevel const& value);
MaxDiskSizeInMB
Approximate maximum disk space to be used, in megabytes. When this value is set to zero, no information will be written to disk.
int32_t MaxDiskSizeInMB();
void MaxDiskSizeInMB(int32_t const& value);