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

#include <NotificationsObserverInterface.h>

Inheritance diagram for alexaClientSDK::acsdkNotificationsInterfaces::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::acsdkNotificationsInterfaces::NotificationsObserverInterface::~NotificationsObserverInterface ( )
virtualdefault

Destructor

Member Function Documentation

◆ onNotificationReceived()

virtual void alexaClientSDK::acsdkNotificationsInterfaces::NotificationsObserverInterface::onNotificationReceived ( )
pure virtual

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

Implemented in alexaClientSDK::acsdkNotifications::test::TestNotificationsObserver, alexaClientSDK::sampleApp::UIManager, and alexaClientSDK::diagnostics::DevicePropertyAggregator.

◆ onSetIndicator()

virtual void alexaClientSDK::acsdkNotificationsInterfaces::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::acsdkNotifications::test::TestNotificationsObserver, alexaClientSDK::sampleApp::UIManager, and alexaClientSDK::diagnostics::DevicePropertyAggregator.


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

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