AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerMiscStorage Class Reference

#include <SpeakerManagerMiscStorage.h>

Inheritance diagram for alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerMiscStorage:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerMiscStorage:
Collaboration graph
[legend]

Public Member Functions

SpeakerManagerStorageInterface Functions
bool loadState (SpeakerManagerStorageState &state) override
 
bool saveState (const SpeakerManagerStorageState &state) override
 
- Public Member Functions inherited from alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerStorageInterface
virtual ~SpeakerManagerStorageInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< SpeakerManagerMiscStoragecreate (const std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface > &miscStorage)
 

Detailed Description

Configuration interface for SpeakerManager.

Member Function Documentation

◆ create()

std::shared_ptr< SpeakerManagerMiscStorage > alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerMiscStorage::create ( const std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface > &  miscStorage)
static

Creates an instance of the SpeakerManagerMiscStorage.

Parameters
miscStorageThe underlying miscellaneous storage to store SpeakerManager data.
Returns
A unique pointer to the instance of the newly created SpeakerManagerMiscStorage.

◆ loadState()

bool alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerMiscStorage::loadState ( SpeakerManagerStorageState state)
overridevirtual

Loads state from underlying storage.

Parameters
[out]statePointer to state structure for loaded values.
Returns
Boolean flag if the operation is successful.

Implements alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerStorageInterface.

◆ saveState()

bool alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerMiscStorage::saveState ( const SpeakerManagerStorageState state)
overridevirtual

Stores state to underlying storage.

Parameters
[in]stateReference of state structure for values to store.
Returns
Boolean flag if the operation is successful.

Implements alexaClientSDK::capabilityAgents::speakerManager::SpeakerManagerStorageInterface.


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

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