Alexa Auto SDK  4.3
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=60, bool enableUserProfile=false)
 
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 = 60,
bool  enableUserProfile = false 
)
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>,
"enableUserProfile" : <true/false>
}
}
Parameters
[in]requestTimeoutThe timeout used for requesting code pair. The default value is 60s
[in]enableUserProfileTo request user profile. The default value is false.

◆ 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:

Deprecated:
This method is deprecated, use createCBLConfig instead.
{
"aace.cbl": {
"enableUserProfile": <true/false>
}
}
Parameters
[in]enableUserProfileEnable functionality to request user profile

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