#include <SQLiteDeviceSettingStorage.h>
◆ ~SQLiteDeviceSettingStorage()
alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::~SQLiteDeviceSettingStorage |
( |
| ) |
|
◆ close()
void alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::close |
( |
| ) |
|
|
overridevirtual |
◆ create()
Factory method for creating a storage object for settings based on an SQLite database. Settings will be stored in the misc database.
- Deprecated:
- Use createDeviceSettingStorageInterface
- Parameters
-
configurationRoot | The global config object where the location of the misc database can be found. |
- Returns
- Pointer to the SQLiteDeviceSettingStorage object, nullptr if there's an error creating it.
◆ createDeviceSettingStorageInterface()
Factory method for creating a storage object for settings based on an SQLite database. Settings will be stored in the misc database.
- Parameters
-
configurationRoot | The global config object where the location of the misc database can be found. |
- Returns
- Pointer to the SQLiteDeviceSettingStorage object, nullptr if there's an error creating it.
◆ deleteSetting()
bool alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::deleteSetting |
( |
const std::string & |
key | ) |
|
|
overridevirtual |
◆ loadSetting()
SettingStatusAndValue alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::loadSetting |
( |
const std::string & |
key | ) |
|
|
overridevirtual |
◆ open()
bool alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::open |
( |
| ) |
|
|
overridevirtual |
◆ storeSetting()
bool alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::storeSetting |
( |
const std::string & |
key, |
|
|
const std::string & |
value, |
|
|
SettingStatus |
status |
|
) |
| |
|
overridevirtual |
◆ storeSettings()
bool alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::storeSettings |
( |
const std::vector< std::tuple< std::string, std::string, SettingStatus >> & |
data | ) |
|
|
overridevirtual |
◆ updateSettingStatus()
bool alexaClientSDK::settings::storage::SQLiteDeviceSettingStorage::updateSettingStatus |
( |
const std::string & |
key, |
|
|
SettingStatus |
status |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file:
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0