![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AmdCommunicationInterface.h>
Public Member Functions | |
~AmdCommunicationInterface () override=default | |
![]() | |
virtual | ~CommunicationPropertiesHandlerInterface ()=default |
virtual std::shared_ptr< CommunicationProperty< int > > | registerProperty (const std::string &propertyName, int initValue, const std::shared_ptr< CommunicationPropertyValidatorInterface< int >> &writeValidator=nullptr)=0 |
virtual void | deregisterProperty (const std::string &propertyName, const std::shared_ptr< CommunicationProperty< int >> &property)=0 |
virtual bool | writeProperty (const std::string &propertyName, int newValue)=0 |
virtual bool | readProperty (const std::string &propertyName, int &value)=0 |
virtual bool | subscribeToPropertyChangeEvent (const std::string &propertyName, const std::weak_ptr< CommunicationPropertyChangeSubscriber< int >> &subscriber)=0 |
virtual bool | unsubscribeToPropertyChangeEvent (const std::string &propertyName, const std::shared_ptr< CommunicationPropertyChangeSubscriber< int >> &subscriber)=0 |
![]() | |
virtual | ~CommunicationPropertiesHandlerInterface ()=default |
virtual std::shared_ptr< CommunicationProperty< std::string > > | registerProperty (const std::string &propertyName, std::string initValue, const std::shared_ptr< CommunicationPropertyValidatorInterface< std::string >> &writeValidator=nullptr)=0 |
virtual void | deregisterProperty (const std::string &propertyName, const std::shared_ptr< CommunicationProperty< std::string >> &property)=0 |
virtual bool | writeProperty (const std::string &propertyName, std::string newValue)=0 |
virtual bool | readProperty (const std::string &propertyName, std::string &value)=0 |
virtual bool | subscribeToPropertyChangeEvent (const std::string &propertyName, const std::weak_ptr< CommunicationPropertyChangeSubscriber< std::string >> &subscriber)=0 |
virtual bool | unsubscribeToPropertyChangeEvent (const std::string &propertyName, const std::shared_ptr< CommunicationPropertyChangeSubscriber< std::string >> &subscriber)=0 |
![]() | |
virtual | ~CommunicationInvokeHandlerInterface ()=default |
virtual bool | registerFunction (const std::string &name, std::shared_ptr< FunctionInvokerInterface< std::string, ArgTypes... >> functionImplementation)=0 |
virtual alexaClientSDK::avsCommon::utils::error::SuccessResult< std::string > | invoke (const std::string &name, ArgTypes...)=0 |
virtual bool | deregister (const std::string &name, const std::shared_ptr< FunctionInvokerInterface< std::string, ArgTypes... >> &functionImplementation)=0 |
![]() | |
virtual | ~CommunicationInvokeHandlerInterface ()=default |
virtual bool | registerFunction (const std::string &name, std::shared_ptr< FunctionInvokerInterface< bool, ArgTypes... >> functionImplementation)=0 |
virtual alexaClientSDK::avsCommon::utils::error::SuccessResult< bool > | invoke (const std::string &name, ArgTypes...)=0 |
virtual bool | deregister (const std::string &name, const std::shared_ptr< FunctionInvokerInterface< bool, ArgTypes... >> &functionImplementation)=0 |
|
overridedefault |
Virtual destructor to assure proper cleanup of derived types.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0