AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyChangeSubscriber< T > Class Template Referenceabstract

#include <CommunicationPropertyChangeSubscriber.h>

Inheritance diagram for alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyChangeSubscriber< T >:
Inheritance graph
[legend]

Public Member Functions

virtual ~CommunicationPropertyChangeSubscriber ()=default
 
virtual void onCommunicationPropertyChange (const std::string &propertyName, T newValue)=0
 

Detailed Description

template<typename T>
class alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyChangeSubscriber< T >

The CommunicationPropertyChangeSubscriber is the interface that is used to subscribe to property change events.

Constructor & Destructor Documentation

◆ ~CommunicationPropertyChangeSubscriber()

default destructor

Member Function Documentation

◆ onCommunicationPropertyChange()

template<typename T>
virtual void alexaClientSDK::acsdkCommunicationInterfaces::CommunicationPropertyChangeSubscriber< T >::onCommunicationPropertyChange ( const std::string &  propertyName,
newValue 
)
pure virtual

Function that is called when the Communication Property that is subscribed to has the value changed.

Parameters
propertyNameThe name of the property
newValueThe new value of the property

Implemented in ArtifactUnderTest, ArtifactUnderTest, and alexaClientSDK::acsdkCommunication::InMemoryCommunicationPropertiesHandler< T >::WeakSubscriptionProxy.


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0