Class LocateAnchorsCompletedDelegate

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::LocateAnchorsCompletedDelegate

Description

Informs the application that a locate operation has completed.

Applications use this type when registering events.

For more information, see How to handle events using delegates in C++/WinRT.

Constructors

LocateAnchorsCompletedDelegate(std::nullptr_t = nullptr) noexcept;
template<typename L> LocateAnchorsCompletedDelegate(L lambda);
template<typename F> LocateAnchorsCompletedDelegate(F* function);
template<typename O, typename M> LocateAnchorsCompletedDelegate(O* object, M method);

Methods

void operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::Azure::SpatialAnchors::LocateAnchorsCompletedEventArgs const& args) const;

Parameters

  • sender - The session that ran the locate operation.
  • args - The arguments describing the operation completion.