AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ConnectionStatusObserverInterface.h>
Classes | |
struct | EngineConnectionStatus |
Public Member Functions | |
virtual | ~ConnectionStatusObserverInterface ()=default |
virtual void | onConnectionStatusChanged (const Status status, const ChangedReason reason)=0 |
virtual void | onConnectionStatusChanged (const Status status, const std::vector< EngineConnectionStatus > &engineStatuses) |
This class allows a client to be notified of changes to connection status to AVS.
|
strong |
This enum expresses the reasons a connection status may change.
|
virtualdefault |
Destructor.
|
pure virtual |
Called when the AVS connection state changes.
status | The current connection status. |
reason | The reason the status change occurred. |
Implemented in alexaClientSDK::acsdkAlerts::AlertsCapabilityAgent, alexaClientSDK::capabilitiesDelegate::CapabilitiesDelegate, alexaClientSDK::avsCommon::avs::DialogUXStateAggregator, alexaClientSDK::capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent, alexaClientSDK::capabilityAgents::system::SoftwareInfoSender, alexaClientSDK::settings::types::LocaleWakeWordsSetting, alexaClientSDK::sampleApplications::common::UIManager, alexaClientSDK::diagnostics::DevicePropertyAggregator, alexaClientSDK::settings::SettingConnectionObserver, and alexaClientSDK::sampleApplications::ipcServerSampleApp::ConnectionObserver.
|
inlinevirtual |
Called when any of the connection state changes.
status | A summarized status based on one or more engines' connection status. Most applications should use this to identify Alexa connectivity. |
engineStatuses | Detailed status for each connection. Gives more granular connection status when more than one connection is possible. |
Reimplemented in alexaClientSDK::avsCommon::avs::DialogUXStateAggregator.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0