AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::sampleApplications::ipcServerSampleApp::SampleApplication::AdapterRegistration Class Reference

#include <SampleApplication.h>

Public Member Functions

 AdapterRegistration (const std::string &playerId, acsdkExternalMediaPlayer::ExternalMediaPlayer::AdapterCreateFunction createFunction)
 

Detailed Description

Instances of this class register ExternalMediaAdapters. Each adapter registers itself by instantiating a static instance of the below class supplying their business name and creator method.

Constructor & Destructor Documentation

◆ AdapterRegistration()

alexaClientSDK::sampleApplications::ipcServerSampleApp::SampleApplication::AdapterRegistration::AdapterRegistration ( const std::string &  playerId,
acsdkExternalMediaPlayer::ExternalMediaPlayer::AdapterCreateFunction  createFunction 
)

Register an ExternalMediaAdapter for use by ExternalMediaPlayer.

Parameters
playerIdThe playerId identifying the ExternalMediaAdapter to register.
createFunctionThe function to use to create instances of the specified ExternalMediaAdapter.

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