AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::afml::ActivityTrackerInterface Class Referenceabstract

#include <ActivityTrackerInterface.h>

Inheritance diagram for alexaClientSDK::afml::ActivityTrackerInterface:
Inheritance graph

Public Member Functions

virtual ~ActivityTrackerInterface ()=default
 Destructor. More...
virtual void notifyOfActivityUpdates (const std::vector< Channel::State > &channelStates)=0

Detailed Description

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().

Constructor & Destructor Documentation

◆ ~ActivityTrackerInterface()

virtual alexaClientSDK::afml::ActivityTrackerInterface::~ActivityTrackerInterface ( )


Member Function Documentation

◆ notifyOfActivityUpdates()

virtual void alexaClientSDK::afml::ActivityTrackerInterface::notifyOfActivityUpdates ( const std::vector< Channel::State > &  channelStates)
pure virtual

This function is called whenever an activity in FocusManager causes updates to a vector of channels.

channelStatesA vector of Channel::State that has been updated.

Implemented in alexaClientSDK::afml::test::MockActivityTrackerInterface, alexaClientSDK::afml::AudioActivityTracker, and alexaClientSDK::afml::VisualActivityTracker.

The documentation for this class was generated from the following file:

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