16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_COMPONENTS_AUDIOFOCUSMANAGERHANDLER_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_COMPONENTS_AUDIOFOCUSMANAGERHANDLER_H_ 28 namespace sampleApplications {
29 namespace ipcServerSampleApp {
38 ,
public std::enable_shared_from_this<AudioFocusManagerHandler> {
47 static std::shared_ptr<AudioFocusManagerHandler>
create(
48 std::shared_ptr<IPCHandlerRegistrationInterface> ipcHandlerRegistrar,
49 std::shared_ptr<AudioFocusManagerHandlerInterface> audioFocusManagerComponent);
83 std::shared_ptr<IPCHandlerRegistrationInterface> ipcHandlerRegistrar,
84 std::shared_ptr<AudioFocusManagerHandlerInterface> audioFocusManagerComponent);
87 std::shared_ptr<IPCHandlerRegistrationInterface> m_ipcHandlerRegistrar;
90 std::shared_ptr<IPCDispatcherInterface> m_ipcDispatcher;
93 std::shared_ptr<AudioFocusManagerHandlerInterface> m_audioFocusManagerComponent;
101 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_IPC_COMPONENTS_AUDIOFOCUSMANAGERHANDLER_H_ void registerHandlers()
Register this handler for its namespace and its methods for the corresponding namespace functions...
static std::shared_ptr< AudioFocusManagerHandler > create(std::shared_ptr< IPCHandlerRegistrationInterface > ipcHandlerRegistrar, std::shared_ptr< AudioFocusManagerHandlerInterface > audioFocusManagerComponent)
void processChannelResult(unsigned token, bool result)
Definition: RequiresShutdown.h:32
Definition: IPCHandlerBase.h:33
FocusState
Definition: FocusState.h:29
void processFocusChanged(unsigned token, avsCommon::avs::FocusState focusState)
Definition: AudioFocusManagerHandler.h:35
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void doShutdown() override