Alexa Auto SDK  4.3
Static Public Member Functions | List of all members
aace::storage::config::StorageConfiguration Class Reference

Static Public Member Functions

static std::shared_ptr< aace::core::config::EngineConfigurationcreateLocalStorageConfig (const std::string &localStoragePath)
 

Detailed Description

The StorageConfiguration class is a factory interface for creating Storage service configuration objects.

Member Function Documentation

◆ createLocalStorageConfig()

static std::shared_ptr<aace::core::config::EngineConfiguration> aace::storage::config::StorageConfiguration::createLocalStorageConfig ( const std::string &  localStoragePath)
static

Factory method used to programmatically generate storage configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:

{
"aace.storage": {
"localStoragePath": "<LOCAL_STORAGE_FILE_PATH>"
}
}
Parameters
[in]localStoragePathThe file path to the local storage data file

The database will be created on initialization if it does not already exist.


Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0