The CBLConfiguration
class is a factory interface for creating CBL service configuration objects.
◆ createCBLConfig()
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] | requestTimeout | The timeout used for requesting code pair. The default value is 60s |
[in] | enableUserProfile | To request user profile. The default value is false . |
◆ createCBLUserProfileConfig()
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] | enableUserProfile | Enable 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