Alexa Auto SDK  2.0.0
Static Public Member Functions | List of all members
aace::cbl::config::CBLConfiguration Class Reference

Static Public Member Functions

static std::shared_ptr< aace::core::config::EngineConfigurationcreateCBLConfig (const int seconds)
 
static std::shared_ptr< aace::core::config::EngineConfigurationcreateCBLUserProfileConfig (bool enableUserProfile)
 

Detailed Description

The CBLConfiguration class is a factory interface for creating CBL service configuration objects.

Member Function Documentation

◆ createCBLConfig()

static std::shared_ptr<aace::core::config::EngineConfiguration> aace::cbl::config::CBLConfiguration::createCBLConfig ( const int  seconds)
static

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

{
"aace.cbl": {
"requestTimeout": <REQUEST_TIMEOUT_IN_SECONDS>
}
}
Parameters
[in]requestTimeoutThe timeout used for requesting code pair

The default configuration of 60 seconds will be overriden with this value when configured.

◆ createCBLUserProfileConfig()

static std::shared_ptr<aace::core::config::EngineConfiguration> aace::cbl::config::CBLConfiguration::createCBLUserProfileConfig ( bool  enableUserProfile)
static

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

{
"aace.cbl": {
"enableUserProfile": <true/false>
}
}
Parameters
[in]enableUserProfileEnable functionality to request user profile

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