![]()  | 
  
    AlexaClientSDK
    3.0.0
    
   A cross-platform, modular SDK for interacting with the Alexa Voice Service 
   | 
 
#include <SettingEventSenderInterface.h>

Public Member Functions | |
| virtual | ~SettingEventSenderInterface ()=default | 
| virtual std::shared_future< bool > | sendChangedEvent (const std::string &value)=0 | 
| virtual std::shared_future< bool > | sendReportEvent (const std::string &value)=0 | 
| virtual std::shared_future< bool > | sendStateReportEvent (const std::string &payload)=0 | 
| virtual void | cancel ()=0 | 
      
  | 
  virtualdefault | 
Destructor.
      
  | 
  pure virtual | 
Cancels an ongoing event transmission to AVS.
Implemented in alexaClientSDK::capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent, and alexaClientSDK::settings::SettingEventSender.
      
  | 
  pure virtual | 
Sends a setting changed event to AVS. This event follows the format:
 The setting specific fields should be specified in a SettingEventMetadata passed as an argument on creation this object.
| value | The value of the setting. It should be a valid JSON string value. | 
Implemented in alexaClientSDK::capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent, and alexaClientSDK::settings::SettingEventSender.
      
  | 
  pure virtual | 
Sends a report setting event to AVS.
The setting report event follows the format:
 The setting specific fields should be specified in a SettingEventMetadata passed as an argument on creation this object.
| value | The value of the setting. It should be a valid JSON string value. | 
Implemented in alexaClientSDK::capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent, and alexaClientSDK::settings::SettingEventSender.
      
  | 
  pure virtual | 
Sends a state report event to AVS.
The setting state report event follows the format:
 The setting specific fields should be specified in a SettingEventMetadata passed as an argument on creation this object.
| payload | The report payload. It should be a valid JSON element. | 
Implemented in alexaClientSDK::capabilityAgents::doNotDisturb::DoNotDisturbCapabilityAgent, and alexaClientSDK::settings::SettingEventSender.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0