#include <DavsRequest.h>
|
using | FilterMap = std::map< std::string, std::set< std::string > > |
|
|
static constexpr auto | UNPACK = true |
|
◆ FilterMap
◆ create()
static std::shared_ptr<DavsRequest> alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::create |
( |
std::string |
type, |
|
|
std::string |
key, |
|
|
FilterMap |
filters, |
|
|
Region |
endpoint = Region::NA , |
|
|
bool |
unpack = false |
|
) |
| |
|
static |
Creates an Artifact Request that will contain all the necessary information to identify an artifact with DAVS. API information: https://wiki.labcollab.net/confluence/display/Doppler/DAVS+2.0+GET+ARTIFACT+API
- Parameters
-
type | REQUIRED, used to identify a family of artifact (WW, earcon, alarms...). |
key | REQUIRED, used to narrow down the scope per type, for WW (alexa, amazon), for earcons (tones, local-dependant), etc... |
filters | REQUIRED, extra filters that are flexible in number (Locale, compatibility versions, etc...). |
endpoint | OPTIONAL, specifies the endpoint for the request to download from, defaults to NA. |
unpack | OPTIONAL, if true, then artifact will be unpacked and the directory will be provided. |
- Returns
- NULLABLE, a smart pointer to a request if all params are valid.
◆ getFilters()
const DavsRequest::FilterMap & alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::getFilters |
( |
| ) |
const |
|
inline |
- Returns
- the map of filter sets used to distinguish this DAVS request from similar components.
◆ getKey()
const std::string & alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::getKey |
( |
| ) |
const |
|
inline |
- Returns
- the Key which is used to identify the subcomponent of this DAVS request.
◆ getRegion()
Region alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::getRegion |
( |
| ) |
const |
|
inline |
- Returns
- the DAVS Region which this request is targeting.
◆ getRequestType()
Type alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::getRequestType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSummary()
std::string alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::getSummary |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getType()
const std::string & alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::getType |
( |
| ) |
const |
|
inline |
- Returns
- the Type which is used to identify the main component of this DAVS request.
◆ needsUnpacking()
bool alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::needsUnpacking |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ toJsonString()
std::string alexaClientSDK::acsdkAssets::commonInterfaces::DavsRequest::toJsonString |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/capabilities/DavsClient/acsdkAssetsInterfaces/include/acsdkAssetsInterfaces/DavsRequest.h
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0