AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MockSettingObserver.h>
Public Member Functions | |
MOCK_METHOD2_T (onSettingNotification, void(const typename SettingT::ValueType &value, SettingNotifications notification)) | |
Public Member Functions inherited from alexaClientSDK::settings::SettingObserverInterface< SettingT > | |
virtual | ~SettingObserverInterface ()=default |
virtual void | onSettingNotification (const typename SettingT::ValueType &value, SettingNotifications notification)=0 |
Additional Inherited Members | |
Public Attributes inherited from alexaClientSDK::settings::SettingObserverInterface< SettingT > | |
friend | SettingT |
Only objects from SettingT can call the value change notification. More... | |
Mock setting observer.
SettingT | The setting type to be observed. |
alexaClientSDK::settings::test::MockSettingObserver< SettingT >::MOCK_METHOD2_T | ( | onSettingNotification | , |
void(const typename SettingT::ValueType &value, SettingNotifications notification) | |||
) |
Function called when the observed setting is called.
value | The current value of the setting. For LOCAL_CHANGE and AVS_CHANGE , the value should be the same as the one requested. |
notification | The notification type. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0