Megosztás a következőn keresztül:


Class AnchorLocatedDelegate

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::AnchorLocatedDelegate

Description

Informs the application that a session has located an anchor or discovered that it cannot yet be located.

Applications use this type when registering events.

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

Constructors

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

Methods

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

Parameters

  • sender - The session that fires the event.
  • args - Information about the located anchor.