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

#include <SampleApplication.h>

Public Member Functions

 MediaPlayerRegistration (const std::string &playerId, avsCommon::sdkInterfaces::ChannelVolumeInterface::Type speakerType)
 

Detailed Description

Instances of this class register MediaPlayers to be created. Each third-party adapter registers a mediaPlayer for itself by instantiating a static instance of the below class supplying their business name, speaker interface type and creator method.

Constructor & Destructor Documentation

◆ MediaPlayerRegistration()

alexaClientSDK::sampleApp::SampleApplication::MediaPlayerRegistration::MediaPlayerRegistration ( const std::string &  playerId,
avsCommon::sdkInterfaces::ChannelVolumeInterface::Type  speakerType 
)

Register a MediaPlayer for use by a music provider adapter.

Parameters
playerIdThe playerId identifying the ExternalMediaAdapter to register.
speakerTypeThe SpeakerType of the mediaPlayer to be created.

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