AlexaClientSDK  1.25.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Typedefs | Functions
alexaClientSDK::acsdkHTTPContentFetcher Namespace Reference

Typedefs

using HTTPContentFetcherComponent = acsdkManufactory::Component< std::shared_ptr< avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface >, acsdkManufactory::Import< acsdkManufactory::Annotated< avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface, avsCommon::utils::libcurlUtils::LibcurlSetCurlOptionsCallbackFactoryInterface > >>
 

Functions

HTTPContentFetcherComponent getComponent ()
 
static std::shared_ptr< HTTPContentFetcherInterfaceFactoryInterfacecreateHTTPContentFetcherFactory (const Annotated< HTTPContentFetcherInterfaceFactoryInterface, LibcurlSetCurlOptionsCallbackFactoryInterface > &callbackFactory)
 

Typedef Documentation

◆ HTTPContentFetcherComponent

Manufactory Component definition for Libcurl implementation of HTTPContentFetcherInbterfaceFactoryInterface

Function Documentation

◆ createHTTPContentFetcherFactory()

static std::shared_ptr<HTTPContentFetcherInterfaceFactoryInterface> alexaClientSDK::acsdkHTTPContentFetcher::createHTTPContentFetcherFactory ( const Annotated< HTTPContentFetcherInterfaceFactoryInterface, LibcurlSetCurlOptionsCallbackFactoryInterface > &  callbackFactory)
static

This function adapts an Annotated<HTTPContentFetcherInterfaceFactoryInterface, LibcurlSetCurlOptionsCallbackFactoryInterface> to a shared_ptr<AVSConnectionManagerInterface> and returns a HTTPContentFetcherInterfaceFactoryInterface.

TODO: ACSDK-4957

Note
This is only necessary because HTTPContentFetcherFactory is in AVSCommon and is prohibited from using acsdkManufactory::Annotated<> because acsdkManufactory depends upon AVSCommon. This will be fixed when acsdkManufactory's depenency upon AVSCommon is removed.
Parameters
callbackFactoryThe Annotated<> curl options callback factory.
Returns
A HTTPContentFetcherInterfaceFactoryInterface.

◆ getComponent()

HTTPContentFetcherComponent alexaClientSDK::acsdkHTTPContentFetcher::getComponent ( )

Get the default Manufactory component for creating instances of HTTPContentFetcherInterfaceFactoryInterface.

Returns
The default Manufactory component for creating instances of HTTPContentFetcher.

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