AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Public Member Functions | |
ObserverClass (std::shared_ptr< DeviceSettingsManager > &manager) | |
~ObserverClass () | |
void | onTimezone (const std::string &value) |
ObserverClass (std::shared_ptr< DeviceSettingsManager > &manager) | |
~ObserverClass ()=default | |
void | onAlarmVolumeRamp (const types::AlarmVolumeRampTypes &value) |
void | onWakewordConfirmation (const WakeWordConfirmationSettingType &value) |
void | onTimezone (const std::string &value) |
Public Attributes | |
std::shared_ptr< TestEventCallback > | m_timezoneAdapter |
Adapter for timezone callback. More... | |
std::shared_ptr< DeviceSettingsManager > | m_manager |
Pointer to settings manager. More... | |
std::string | m_timezoneValue |
The timezone value reported. More... | |
std::shared_ptr< SettingCallbacks< DeviceSettingsManager > > | m_callbacks |
The callback wrapper. More... | |
types::AlarmVolumeRampTypes | m_alarmVolumeRampValue |
The alarm volume ramp value. More... | |
WakeWordConfirmationSettingType | m_wakewordConfirmationValue |
The wakeword confirmation value. More... | |
Observer class that register callback member function.
Observer class that register callback member functions.
|
explicit |
Constructor.
manager | The device manager used to register the callbacks. |
alexaClientSDK::settings::test::ObserverClass::~ObserverClass | ( | ) |
Destructor.
|
explicit |
Constructor.
manager | The device manager used to register the callbacks. |
|
default |
Destructor.
void alexaClientSDK::settings::test::ObserverClass::onAlarmVolumeRamp | ( | const types::AlarmVolumeRampTypes & | value | ) |
Callback method for alarm volume ramp. We don't care about the notification type, so we just omit it.
value | The new alarm volume ramp value. |
void alexaClientSDK::settings::test::ObserverClass::onTimezone | ( | const std::string & | value | ) |
Callback method for timezone. We don't care about the notification type, so we just omit it.
value | The new timezone value. |
void alexaClientSDK::settings::test::ObserverClass::onTimezone | ( | const std::string & | value | ) |
Callback method for timezone. We don't care about the notification type, so we just omit it.
value | The new timezone value. |
void alexaClientSDK::settings::test::ObserverClass::onWakewordConfirmation | ( | const WakeWordConfirmationSettingType & | value | ) |
Callback method for wakeword confirmation. We don't care about the notification type, so we just omit it.
value | The new wakeword confirmation value. |
types::AlarmVolumeRampTypes alexaClientSDK::settings::test::ObserverClass::m_alarmVolumeRampValue |
The alarm volume ramp value.
std::shared_ptr<SettingCallbacks<DeviceSettingsManager> > alexaClientSDK::settings::test::ObserverClass::m_callbacks |
The callback wrapper.
std::shared_ptr< DeviceSettingsManager > alexaClientSDK::settings::test::ObserverClass::m_manager |
Pointer to settings manager.
The device setting manager.
std::shared_ptr<TestEventCallback> alexaClientSDK::settings::test::ObserverClass::m_timezoneAdapter |
Adapter for timezone callback.
std::string alexaClientSDK::settings::test::ObserverClass::m_timezoneValue |
The timezone value reported.
The timezone value.
WakeWordConfirmationSettingType alexaClientSDK::settings::test::ObserverClass::m_wakewordConfirmationValue |
The wakeword confirmation value.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0