AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <Alert.h>
Public Member Functions | |
AssetConfiguration () | |
Public Attributes | |
std::unordered_map< std::string, Asset > | assets |
A map of the custom assets, mapping from asset.id to the asset itself. More... | |
std::vector< std::string > | assetPlayOrderItems |
std::string | backgroundAssetId |
The background asset id, if specified by AVS. More... | |
std::chrono::milliseconds | loopPause |
The pause time, in milliseconds, that should be taken between each loop of asset rendering. More... | |
A utility structure to encapsulate the data reflecting custom assets for an alert.
|
inline |
Constructor.
std::vector<std::string> alexaClientSDK::acsdkAlerts::Alert::AssetConfiguration::assetPlayOrderItems |
A vector of the play order of the asset ids. AVS sends this list in its SetAlert Directive, and to render the alert, all assets mapping to these ids must be played in sequence.
std::unordered_map<std::string, Asset> alexaClientSDK::acsdkAlerts::Alert::AssetConfiguration::assets |
A map of the custom assets, mapping from asset.id to the asset itself.
std::string alexaClientSDK::acsdkAlerts::Alert::AssetConfiguration::backgroundAssetId |
The background asset id, if specified by AVS.
std::chrono::milliseconds alexaClientSDK::acsdkAlerts::Alert::AssetConfiguration::loopPause |
The pause time, in milliseconds, that should be taken between each loop of asset rendering.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0