AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Public Attributes | List of all members
alexaClientSDK::settings::test::ObserverClass Class Reference

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< TestEventCallbackm_timezoneAdapter
 Adapter for timezone callback. More...
 
std::shared_ptr< DeviceSettingsManagerm_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...
 

Detailed Description

Observer class that register callback member function.

Observer class that register callback member functions.

Constructor & Destructor Documentation

◆ ObserverClass() [1/2]

alexaClientSDK::settings::test::ObserverClass::ObserverClass ( std::shared_ptr< DeviceSettingsManager > &  manager)
explicit

Constructor.

Parameters
managerThe device manager used to register the callbacks.

◆ ~ObserverClass() [1/2]

alexaClientSDK::settings::test::ObserverClass::~ObserverClass ( )

Destructor.

◆ ObserverClass() [2/2]

alexaClientSDK::settings::test::ObserverClass::ObserverClass ( std::shared_ptr< DeviceSettingsManager > &  manager)
explicit

Constructor.

Parameters
managerThe device manager used to register the callbacks.

◆ ~ObserverClass() [2/2]

alexaClientSDK::settings::test::ObserverClass::~ObserverClass ( )
default

Destructor.

Member Function Documentation

◆ onAlarmVolumeRamp()

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.

Parameters
valueThe new alarm volume ramp value.

◆ onTimezone() [1/2]

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.

Parameters
valueThe new timezone value.

◆ onTimezone() [2/2]

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.

Parameters
valueThe new timezone value.

◆ onWakewordConfirmation()

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.

Parameters
valueThe new wakeword confirmation value.

Member Data Documentation

◆ m_alarmVolumeRampValue

types::AlarmVolumeRampTypes alexaClientSDK::settings::test::ObserverClass::m_alarmVolumeRampValue

The alarm volume ramp value.

◆ m_callbacks

std::shared_ptr<SettingCallbacks<DeviceSettingsManager> > alexaClientSDK::settings::test::ObserverClass::m_callbacks

The callback wrapper.

◆ m_manager

std::shared_ptr< DeviceSettingsManager > alexaClientSDK::settings::test::ObserverClass::m_manager

Pointer to settings manager.

The device setting manager.

◆ m_timezoneAdapter

std::shared_ptr<TestEventCallback> alexaClientSDK::settings::test::ObserverClass::m_timezoneAdapter

Adapter for timezone callback.

◆ m_timezoneValue

std::string alexaClientSDK::settings::test::ObserverClass::m_timezoneValue

The timezone value reported.

The timezone value.

◆ m_wakewordConfirmationValue

WakeWordConfirmationSettingType alexaClientSDK::settings::test::ObserverClass::m_wakewordConfirmationValue

The wakeword confirmation value.


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

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