![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
An interface that clients can extend to register to observe focus changes. More...
#include <FocusManagerObserverInterface.h>
Public Member Functions | |
virtual | ~FocusManagerObserverInterface ()=default |
virtual void | onFocusChanged (const std::string &channelName, avsCommon::avs::FocusState newFocus)=0 |
An interface that clients can extend to register to observe focus changes.
|
virtualdefault |
|
pure virtual |
Used to notify the observer of focus changes. This function should return quickly.
channelName | The name of the channel which changed FocusState . |
newFocus | The new FocusState of channelName . |
Implemented in alexaClientSDK::sampleApplications::ipcServerSampleApp::gui::GUIManager, and alexaClientSDK::acsdkAlerts::AlertsCapabilityAgent.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0