AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperFactoryInterface Class Referenceabstract

#include <ArtifactWrapperFactoryInterface.h>

Inheritance diagram for alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperFactoryInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~ArtifactWrapperFactoryInterface ()=default
 
virtual std::shared_ptr< clientInterfaces::ArtifactWrapperInterfacecreateArtifactWrapper (const std::shared_ptr< commonInterfaces::ArtifactRequest > &request, const std::shared_ptr< ArtifactUpdateValidator > &updateValidator=nullptr)=0
 

Detailed Description

This class is used to house the mechanism for creating the impl instances of ArtifactWrapperInterface.

Constructor & Destructor Documentation

◆ ~ArtifactWrapperFactoryInterface()

virtual alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperFactoryInterface::~ArtifactWrapperFactoryInterface ( )
virtualdefault

Member Function Documentation

◆ createArtifactWrapper()

virtual std::shared_ptr<clientInterfaces::ArtifactWrapperInterface> alexaClientSDK::acsdkAssets::clientInterfaces::ArtifactWrapperFactoryInterface::createArtifactWrapper ( const std::shared_ptr< commonInterfaces::ArtifactRequest > &  request,
const std::shared_ptr< ArtifactUpdateValidator > &  updateValidator = nullptr 
)
pure virtual

Create a pointer to an instance that implements ArtifactWrapperInterface.

Parameters
requestREQUIRED artifact request used for creating the artifact wrapper.
updateValidatorOPTIONAL update validator used to check on new artifacts once they're downloaded.
Returns
a new artifact wrapper instance, null in case of error.

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0