This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgraded dependency to Device SDK 1.24.0 [https://github.com/alexa/…
…avs-device-sdk/tree/v1.24.0] * Added support for APL 1.6 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-latest-version.html] * Added support for Alexa.Presentation.APL 1.3 [https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/presentation-apl.html#version-changes] * Added support for timeoutType from Alexa.Presentation.APL RenderDocument directives [https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/presentation-apl.html#renderdocument] * Moved metric payload handling logic into APLClientLibrary * Removed user-specified schema path for SmartScreenSDKConfig.json validation in favor of internal schema file * Hardened AlexaPresentation CA logic to align with the existing limitation of only being able to support one active APL directive document at a time * Upgraded Node version requirement to 14.0, added Node version check * Added warning message when building in DEBUG mode
- Loading branch information
1 parent
03354f9
commit 9480393
Showing
235 changed files
with
4,043 additions
and
1,916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.idea | ||
.vscode/ | ||
cmake-build-debug/ | ||
*.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreLocaleMethods.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0/ | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
#ifndef APLCLIENTLIBRARY_APLCORELOCALEMETHODS_H | ||
#define APLCLIENTLIBRARY_APLCORELOCALEMETHODS_H | ||
|
||
#include "AplConfiguration.h" | ||
#include "AplCoreConnectionManager.h" | ||
#include "Telemetry/AplMetricsRecorderInterface.h" | ||
|
||
namespace APLClient { | ||
|
||
class AplCoreLocaleMethods : public apl::LocaleMethods { | ||
public: | ||
/** | ||
* Constructor | ||
* | ||
* @param aplCoreConnectionManager Pointer to the APL Core connection manager | ||
*/ | ||
AplCoreLocaleMethods( | ||
AplCoreConnectionManagerPtr aplCoreConnectionManager, | ||
AplConfigurationPtr config); | ||
|
||
std::string toLowerCase(const std::string &value, const std::string &locale) override; | ||
std::string toUpperCase(const std::string &value, const std::string &locale) override; | ||
|
||
private: | ||
std::string toCase(const std::string &value, const std::string &locale, const std::string key); | ||
std::weak_ptr<AplCoreConnectionManager> m_aplCoreConnectionManager; | ||
|
||
AplConfigurationPtr m_aplConfiguration; | ||
}; | ||
|
||
} // namespace APLClient | ||
#endif //APLCLIENTLIBRARY_APLCORELOCALEMETHODS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 0 additions & 38 deletions
38
modules/Alexa/APLClientLibrary/APLClient/include/APLClient/DisplayMetric.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.