![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <DiscoveryStatusObserverInterface.h>
Public Member Functions | |
virtual | ~DiscoveryStatusObserverInterface ()=default |
virtual void | onDiscoveryCompleted (const std::unordered_map< std::string, std::string > &addOrUpdateReportEndpoints, const std::unordered_map< std::string, std::string > &deleteReportEndpoints)=0 |
virtual void | onDiscoveryFailure (avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status status)=0 |
Interface to observe Discovery status from CapabilitiesDelegate
.
|
virtualdefault |
Destructor.
|
pure virtual |
This method will be called when the discovery event has completed successfully.
PostConnectCapabilitiesPublisher
's execution thread and should return immediately.PostConnectCapabilitiesPublisher
to report the success state when ALL of the the discovery events are sent.addOrUpdateReportEndpoints | The map of addOrUpdateReport endpoints sent in the discovery events. |
deleteReportEndpoints | The map of deleteReport endpoints sent in the discovery events. |
Implemented in alexaClientSDK::capabilitiesDelegate::CapabilitiesDelegate.
|
pure virtual |
This method will be called when the discovery event has failed.
status | The MessageRequestObserverInterface::Status indicating the HTTP error encountered. |
Implemented in alexaClientSDK::capabilitiesDelegate::CapabilitiesDelegate.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0