![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <DavsEndpointHandlerV3.h>
Public Member Functions | |
~DavsEndpointHandlerV3 () override=default | |
void | setLocale (std::string newLocale) |
DavsEndpointHandlerInterface Functions | |
std::string | getDavsUrl (std::shared_ptr< commonInterfaces::DavsRequest > request) override |
![]() | |
virtual | ~DavsEndpointHandlerInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< DavsEndpointHandlerV3 > | create (const std::string &segmentId, const std::string &locale="") |
This class implements the DavsEndpointHandlerInterface and uses the following to construct a proper DAVS Url:
|
overridedefault |
Destructor.
|
static |
Creates a new DAVS Endpoint Handler for V3 API given Segment ID (and optionally locale(s))
segmentId | REQUIRED, opaque identifier generated by Amazon for an AVS customer |
locale | OPTIONAL, specifies the locale(s) used for the endpoint, multiple locales can be separated by "," |
|
overridevirtual |
Generates the URL given the DAVS requests, will return an empty string upon failure.
request | DAVS request containing all the necessary information needed to identify a DAVS artifact. |
Implements alexaClientSDK::acsdkAssets::davsInterfaces::DavsEndpointHandlerInterface.
void alexaClientSDK::acsdkAssets::davs::DavsEndpointHandlerV3::setLocale | ( | std::string | newLocale | ) |
Sets the locale for future DAVS requests
newLocale | new locale(s) to set (empty to avoid using this field) |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0