![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <SmartScreenCaptionStateManager.h>
Public Member Functions | |
SmartScreenCaptionStateManager (std::shared_ptr< avsCommon::sdkInterfaces::storage::MiscStorageInterface > miscStorage) | |
bool | areCaptionsEnabled () |
void | setCaptionsState (bool enabled) |
This class manages if captions are turned on or off. It stores the status persistently in disk
|
explicit |
Constructor
miscStorage | the storage where Captions settings are stored |
bool alexaClientSDK::sampleApplications::ipcServerSampleApp::SmartScreenCaptionStateManager::areCaptionsEnabled | ( | ) |
Retrieves the current captions status
void alexaClientSDK::sampleApplications::ipcServerSampleApp::SmartScreenCaptionStateManager::setCaptionsState | ( | bool | enabled | ) |
Set the state of captions in the DB.
enabled | true if captions should be enabled |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0