AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerObserverInterface Class Referenceabstract

#include <ContextManagerObserverInterface.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerObserverInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~ContextManagerObserverInterface ()=default
 
virtual void onStateChanged (const avs::CapabilityTag &identifier, const avs::CapabilityState &state, AlexaStateChangeCauseType cause)=0
 

Detailed Description

Interface used to get notified of changes to the context of one or more endpoints.

Constructor & Destructor Documentation

◆ ~ContextManagerObserverInterface()

virtual alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerObserverInterface::~ContextManagerObserverInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ onStateChanged()

virtual void alexaClientSDK::avsCommon::sdkInterfaces::ContextManagerObserverInterface::onStateChanged ( const avs::CapabilityTag identifier,
const avs::CapabilityState state,
AlexaStateChangeCauseType  cause 
)
pure virtual

Notifies the observer that a change of state has been proactively reported.

Parameters
identifierIdentifies the source of the state change.
stateThe new state.
causeThe reason for the state change.

Implemented in alexaClientSDK::capabilityAgents::alexa::AlexaInterfaceMessageSender.


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

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