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

#include <NotificationsObserverInterface.h>

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

Public Member Functions

virtual ~NotificationsObserverInterface ()=default
 
virtual void onSetIndicator (avsCommon::avs::IndicatorState state)=0
 
virtual void onNotificationReceived ()=0
 

Detailed Description

An interface to allow being notified of changes to the currently stored IndicatorState.

Constructor & Destructor Documentation

◆ ~NotificationsObserverInterface()

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

Destructor

Member Function Documentation

◆ onNotificationReceived()

virtual void alexaClientSDK::avsCommon::sdkInterfaces::NotificationsObserverInterface::onNotificationReceived ( )
pure virtual

Notifies the observer that a new notification has been received. This is called repeatedly for duplicate notifications.

Implemented in alexaClientSDK::capabilityAgents::notifications::test::TestNotificationsObserver, and alexaClientSDK::sampleApp::UIManager.

◆ onSetIndicator()

virtual void alexaClientSDK::avsCommon::sdkInterfaces::NotificationsObserverInterface::onSetIndicator ( avsCommon::avs::IndicatorState  state)
pure virtual

Notifies the observer that a SetIndicator directive has been processed

Parameters
stateThe value of the persistVisualIndicator field of the directive.

Implemented in alexaClientSDK::capabilityAgents::notifications::test::TestNotificationsObserver, and alexaClientSDK::sampleApp::UIManager.


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

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