|
| ~DoNotDisturbCapabilityAgent () override=default |
|
std::shared_ptr< settings::DoNotDisturbSetting > | getDoNotDisturbSetting () const |
|
|
alexaClientSDK::avsCommon::avs::DirectiveHandlerConfiguration | getConfiguration () const override |
|
void | handleDirectiveImmediately (std::shared_ptr< alexaClientSDK::avsCommon::avs::AVSDirective > directive) override |
|
void | preHandleDirective (std::shared_ptr< alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override |
|
void | handleDirective (std::shared_ptr< alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override |
|
void | cancelDirective (std::shared_ptr< alexaClientSDK::avsCommon::avs::CapabilityAgent::DirectiveInfo > info) override |
|
|
std::unordered_set< std::shared_ptr< alexaClientSDK::avsCommon::avs::CapabilityConfiguration > > | getCapabilityConfigurations () override |
|
void | doShutdown () override |
|
|
std::shared_future< bool > | sendChangedEvent (const std::string &value) override |
|
std::shared_future< bool > | sendReportEvent (const std::string &value) override |
|
std::shared_future< bool > | sendStateReportEvent (const std::string &payload) override |
|
void | cancel () override |
|
|
void | onConnectionStatusChanged (const Status status, const ChangedReason reason) override |
|
virtual | ~CapabilityAgent ()=default |
|
void | preHandleDirective (std::shared_ptr< AVSDirective > directive, std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > result) override final |
|
bool | handleDirective (const std::string &messageId) override final |
|
void | cancelDirective (const std::string &messageId) override final |
|
void | onDeregistered () override |
|
void | onFocusChanged (FocusState newFocus, MixingBehavior behavior) override |
|
Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::DirectiveHandlerInterface |
virtual | ~DirectiveHandlerInterface ()=default |
|
virtual void | handleDirectiveImmediately (std::shared_ptr< avsCommon::avs::AVSDirective > directive)=0 |
|
virtual void | preHandleDirective (std::shared_ptr< avsCommon::avs::AVSDirective > directive, std::unique_ptr< DirectiveHandlerResultInterface > result)=0 |
|
virtual | ~ChannelObserverInterface ()=default |
|
virtual | ~StateProviderInterface ()=default |
|
virtual void | provideState (const avs::NamespaceAndName &stateProviderName, const ContextRequestToken stateRequestToken) |
|
virtual void | provideState (const avs::CapabilityTag &stateProviderName, const ContextRequestToken stateRequestToken) |
|
virtual bool | canStateBeRetrieved () |
|
virtual bool | hasReportableStateProperties () |
|
virtual bool | shouldQueryState () |
|
virtual | ~ContextRequesterInterface ()=default |
|
virtual void | onContextAvailable (const std::string &jsonContext) |
|
virtual void | onContextAvailable (const endpoints::EndpointIdentifier &endpointId, const avs::AVSContext &endpointContext, ContextRequestToken requestToken) |
|
virtual void | onContextFailure (const ContextRequestError error) |
|
virtual void | onContextFailure (const ContextRequestError error, ContextRequestToken token) |
|
virtual | ~CapabilityConfigurationInterface ()=default |
|
virtual | ~ConnectionStatusObserverInterface ()=default |
|
virtual void | onConnectionStatusChanged (const Status status, const std::vector< EngineConnectionStatus > &engineStatuses) |
|
| RequiresShutdown (const std::string &name) |
|
virtual | ~RequiresShutdown () |
| Destructor. More...
|
|
const std::string & | name () const |
|
void | shutdown () |
|
bool | isShutdown () const |
|
virtual | ~SettingEventSenderInterface ()=default |
|
|
enum | Status { Status::DISCONNECTED,
Status::PENDING,
Status::CONNECTED
} |
|
enum | ChangedReason {
ChangedReason::NONE,
ChangedReason::SUCCESS,
ChangedReason::UNRECOVERABLE_ERROR,
ChangedReason::ACL_CLIENT_REQUEST,
ChangedReason::ACL_DISABLED,
ChangedReason::DNS_TIMEDOUT,
ChangedReason::CONNECTION_TIMEDOUT,
ChangedReason::CONNECTION_THROTTLED,
ChangedReason::INVALID_AUTH,
ChangedReason::PING_TIMEDOUT,
ChangedReason::WRITE_TIMEDOUT,
ChangedReason::READ_TIMEDOUT,
ChangedReason::FAILURE_PROTOCOL_ERROR,
ChangedReason::INTERNAL_ERROR,
ChangedReason::SERVER_INTERNAL_ERROR,
ChangedReason::SERVER_SIDE_DISCONNECT,
ChangedReason::SERVER_ENDPOINT_CHANGED
} |
|
| CapabilityAgent (const std::string &nameSpace, std::shared_ptr< sdkInterfaces::ExceptionEncounteredSenderInterface > exceptionEncounteredSender) |
|
virtual std::shared_ptr< DirectiveInfo > | createDirectiveInfo (std::shared_ptr< AVSDirective > directive, std::unique_ptr< sdkInterfaces::DirectiveHandlerResultInterface > result) |
|
virtual void | preHandleDirective (std::shared_ptr< DirectiveInfo > info)=0 |
|
virtual void | handleDirective (std::shared_ptr< DirectiveInfo > info)=0 |
|
virtual void | cancelDirective (std::shared_ptr< DirectiveInfo > info)=0 |
|
void | removeDirective (const std::string &messageId) |
|
void | sendExceptionEncounteredAndReportFailed (std::shared_ptr< DirectiveInfo > info, const std::string &message, avsCommon::avs::ExceptionErrorType type=avsCommon::avs::ExceptionErrorType::INTERNAL_ERROR) |
|
const std::pair< std::string, std::string > | buildJsonEventString (const std::string &eventName, const std::string &dialogRequestIdString="", const std::string &payload="{}", const std::string &context="") const |
|
const std::string | m_namespace |
| The namespace of the capability agent. More...
|
|
std::shared_ptr< sdkInterfaces::ExceptionEncounteredSenderInterface > | m_exceptionEncounteredSender |
| Object to use to send exceptionEncountered messages. More...
|
|
Capability Agent to handle Alexa.DoNotDisturb AVS Interface.
When DoNotDisturb mode is on AVS blocks some interactions from reaching the device so the customer won't be disturbed. Locally SDK provides only the way to get immediate state of the DND mode, track its changes coming from any source and update it making sure that it will be synchronized with AVS. No other customer experience is affected.