![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MRMHandlerInterface.h>
Public Member Functions | |
MRMHandlerInterface (const std::string &shutdownName) | |
virtual | ~MRMHandlerInterface () override=default |
virtual std::string | getVersionString () const =0 |
virtual bool | handleDirective (const std::string &nameSpace, const std::string &name, const std::string &messageId, const std::string &payload)=0 |
virtual void | onUserInactivityReportSent ()=0 |
virtual void | onCallStateChange (bool active)=0 |
virtual void | onDialogUXStateChanged (avsCommon::sdkInterfaces::DialogUXStateObserverInterface::DialogUXState newState)=0 |
virtual void | setObserver (std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsObserverInterface > observer)=0 |
![]() | |
virtual void | onSpeakerSettingsChanged (const Source &source, const ChannelVolumeInterface::Type &type, const SpeakerInterface::SpeakerSettings &settings)=0 |
virtual | ~SpeakerManagerObserverInterface ()=default |
![]() | |
RequiresShutdown (const std::string &name) | |
virtual | ~RequiresShutdown () |
Destructor. More... | |
const std::string & | name () const |
void | shutdown () |
bool | isShutdown () const |
Additional Inherited Members | |
![]() | |
enum | Source { Source::DIRECTIVE, Source::LOCAL_API, Source::EXTERNAL_CLIENT } |
Indicates whether the source of the call is from an AVS Directive or through a Local API call. More... | |
![]() | |
virtual void | doShutdown ()=0 |
An interface which should be extended by a class which wishes to implement lower level MRM functionality, such as device / platform, local network, time synchronization, and audio playback. The api provided here is minimal and sufficient with respect to integration with other AVS Client SDK components.
|
inlineexplicit |
Constructor.
|
overridevirtualdefault |
Destructor.
|
pure virtual |
Returns the string representation of the version of this MRM implementation.
|
pure virtual |
Function to handle an MRM Directive.
nameSpace | The namespace of the AVSDirective to be handled. |
name | The name of the AVSDirective to be handled. |
messageId | The messageId of the AVSDirective to be handled. |
payload | The payload of the AVSDirective to be handled. |
|
pure virtual |
Function to be called when a comms CallState has been changed.
|
pure virtual |
Function to be called when the DialogUXState has been changed.
|
pure virtual |
Function to be called when a System.UserInactivityReportSent Event has been sent to AVS.
Implemented in alexaClientSDK::capabilityAgents::mrm::test::MockMRMHandler.
|
pure virtual |
Function to set the RenderPlayerInfoCardsProviderInterface.
observer | The RenderPlayerInfoCardsObserverInterface to be set. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0