#include <ArtifactWrapperInterface.h>
This interface provides a mechanism for controlling artifacts in asset manager through the Communication Interface. This corresponds with a one to one mapping of ArtifactWrapperInterface to either a davs or url request.
◆ ~ArtifactWrapperInterface()
virtual alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::~ArtifactWrapperInterface |
( |
| ) |
|
|
virtualdefault |
◆ addWeakPtrObserver()
virtual void alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::addWeakPtrObserver |
( |
const std::weak_ptr< ArtifactChangeObserver > & |
observer | ) |
|
|
pure virtual |
Add observer to the state changes of this artifact. This will hold a weak_ptr to the observer.
- Parameters
-
◆ download()
virtual bool alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::download |
( |
| ) |
const |
|
pure virtual |
◆ erase()
virtual void alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::erase |
( |
| ) |
|
|
pure virtual |
◆ getPath()
virtual std::string alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::getPath |
( |
| ) |
const |
|
pure virtual |
◆ getPriority()
◆ getRequest()
◆ isAvailable()
virtual bool alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::isAvailable |
( |
| ) |
const |
|
pure virtual |
◆ isPending()
virtual bool alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::isPending |
( |
| ) |
const |
|
pure virtual |
◆ name()
virtual std::string alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::name |
( |
| ) |
const |
|
pure virtual |
◆ removeWeakPtrObserver()
virtual void alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::removeWeakPtrObserver |
( |
const std::weak_ptr< ArtifactChangeObserver > & |
observer | ) |
|
|
pure virtual |
Remove the observer from this artifact.
- Parameters
-
◆ setPriority()
virtual bool alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperInterface::setPriority |
( |
commonInterfaces::Priority |
priority | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /workplace/avs-device-sdk/capabilities/AssetManager/acsdkAssetManagerClientInterfaces/include/acsdkAssetManagerClientInterfaces/ArtifactWrapperInterface.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