Class SessionStatus

This type describes the status of spatial data processing.

class Microsoft::Azure::SpatialAnchors::SessionStatus final : public std::enable_shared_from_this<Microsoft::Azure::SpatialAnchors::SessionStatus>

Properties

ReadyForCreateProgress

The level of data sufficiency for a successful operation.

This value will be in the [0;1) range when data is insufficient; 1 when data is sufficient for success and greater than 1 when conditions are better than minimally sufficient.

auto GetReadyForCreateProgress() const -> float;

RecommendedForCreateProgress

The ratio of data available to recommended data to create an anchor.

This value will be in the [0;1) range when data is below the recommended threshold; 1 and greater when the recommended amount of data has been gathered for a creation operation.

auto GetRecommendedForCreateProgress() const -> float;

SessionCreateHash

A hash value that can be used to know when environment data that contributes to a creation operation has changed to included the latest input data.

If the hash value does not change after new frames were added to the session, then those frames were not deemed as sufficientlyy different from existing environment data and disgarded. This value may be 0 (and should be ignored) for platforms that don't feed frames individually.

auto GetSessionCreateHash() const -> int32_t;

SessionLocateHash

A hash value that can be used to know when environment data that contributes to a locate operation has changed to included the latest input data.

If the hash value does not change after new frames were added to the session, then those frames were not deemed as sufficiency different from existing environment data and disgarded. This value may be 0 (and should be ignored) for platforms that don't feed frames individually.

auto GetSessionLocateHash() const -> int32_t;

UserFeedback

Feedback that can be provided to user about data processing status.

auto GetUserFeedback() const -> Microsoft::Azure::SpatialAnchors::SessionUserFeedback;