AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
MRMHandlerInterface.h
Go to the documentation of this file.
1 /*
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0/
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 
16 #ifndef ALEXA_CLIENT_SDK_ACSDKMULTIROOMMUSIC_INCLUDE_ACSDKMULTIROOMMUSIC_MRMHANDLERINTERFACE_H_
17 #define ALEXA_CLIENT_SDK_ACSDKMULTIROOMMUSIC_INCLUDE_ACSDKMULTIROOMMUSIC_MRMHANDLERINTERFACE_H_
18 
19 #include <memory>
20 #include <mutex>
21 #include <string>
22 
28 
29 namespace alexaClientSDK {
30 namespace capabilityAgents {
31 namespace mrm {
32 
43 public:
47  explicit MRMHandlerInterface(const std::string& shutdownName);
48 
52  virtual ~MRMHandlerInterface() override = default;
53 
59  virtual std::string getVersionString() const = 0;
60 
70  virtual bool handleDirective(
71  const std::string& nameSpace,
72  const std::string& name,
73  const std::string& messageId,
74  const std::string& payload) = 0;
75 
79  virtual void onUserInactivityReportSent() = 0;
80 
84  virtual void onCallStateChange(bool active) = 0;
85 
89  virtual void onDialogUXStateChanged(
91 
97  virtual void setObserver(
98  std::shared_ptr<avsCommon::sdkInterfaces::RenderPlayerInfoCardsObserverInterface> observer) = 0;
99 };
100 
102  avsCommon::utils::RequiresShutdown{shutdownName} {
103 }
104 
105 } // namespace mrm
106 } // namespace capabilityAgents
107 } // namespace alexaClientSDK
108 
109 #endif // ALEXA_CLIENT_SDK_ACSDKMULTIROOMMUSIC_INCLUDE_ACSDKMULTIROOMMUSIC_MRMHANDLERINTERFACE_H_
virtual void setObserver(std::shared_ptr< avsCommon::sdkInterfaces::RenderPlayerInfoCardsObserverInterface > observer)=0
::std::string string
Definition: gtest-port.h:1097
virtual bool handleDirective(const std::string &nameSpace, const std::string &name, const std::string &messageId, const std::string &payload)=0
DialogUXState
The different dialog specific AVS UX states.
Definition: DialogUXStateObserverInterface.h:32
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
MRMHandlerInterface(const std::string &shutdownName)
Definition: MRMHandlerInterface.h:101
virtual void onDialogUXStateChanged(avsCommon::sdkInterfaces::DialogUXStateObserverInterface::DialogUXState newState)=0

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