Class SessionUpdatedDelegate

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::SessionUpdatedDelegate

Description

Informs the application that a session has been updated with new information.

Applications use this type when registering events.

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

Constructors

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

Methods

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

Parameters

  • sender - The session that has been updated.
  • args - Information about the current session status.