![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <EqualizerStorageInterface.h>
Public Member Functions | |
virtual | ~EqualizerStorageInterface ()=default |
virtual void | saveState (const EqualizerState &state)=0 |
virtual avsCommon::utils::error::SuccessResult< EqualizerState > | loadState ()=0 |
virtual void | clear ()=0 |
Interface to persist the last set to EqualizerController
.
|
virtualdefault |
Destructor.
|
pure virtual |
Clears all the EQ settings from the storage. The next call to loadState()
must return no state unless another state is saved between clear()
and loadState()
.
Implemented in alexaClientSDK::acsdkEqualizer::MiscDBEqualizerStorage.
|
pure virtual |
Loads a stored equalizer state from the storage.
nullptr
if no state is stored. Implemented in alexaClientSDK::acsdkEqualizer::MiscDBEqualizerStorage.
|
pure virtual |
Saves equalizer state to the storage.
state | EqualizerState to store. |
Implemented in alexaClientSDK::acsdkEqualizer::MiscDBEqualizerStorage.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0