Delegate AnchorLocatedDelegate
Informs the application that a session has located an anchor or discovered that it cannot yet be located.
using AnchorLocatedDelegate = std::function<void(void*, std::shared_ptr<Microsoft::Azure::SpatialAnchors::AnchorLocatedEventArgs> const&)>;
Applications use this type when registering events.
For more information on std::function
, see the reference for function class.
Parameters
Name | Type | Description |
---|---|---|
sender |
object | The session that fires the event. |
args |
AnchorLocatedEventArgs | Information about the located anchor. |