![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <ActivityTrackerInterface.h>
Public Member Functions | |
| virtual | ~ActivityTrackerInterface ()=default |
| Destructor. More... | |
| virtual void | notifyOfActivityUpdates (const std::vector< Channel::State > &channelStates)=0 |
This ActivityTrackerInterface interface is used by the FocusManager to notify its activity tracker any focus updates to a vector of Channel::State due to acquireChannel(), releaseChannel() or stopForegroundActivity().
|
virtualdefault |
Destructor.
|
pure virtual |
This function is called whenever an activity in FocusManager causes updates to a vector of channels.
| channelStates | A vector of Channel::State that has been updated. |
Implemented in alexaClientSDK::afml::test::MockActivityTrackerInterface, alexaClientSDK::afml::AudioActivityTracker, and alexaClientSDK::afml::VisualActivityTracker.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0