![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <AlertsCapabilityAgentInterface.h>
Public Member Functions | |
virtual void | addObserver (std::shared_ptr< acsdkAlertsInterfaces::AlertObserverInterface > observer)=0 |
virtual void | removeObserver (std::shared_ptr< acsdkAlertsInterfaces::AlertObserverInterface > observer)=0 |
virtual void | removeAllAlerts ()=0 |
virtual void | onLocalStop ()=0 |
virtual | ~AlertsCapabilityAgentInterface ()=default |
An interface for Alerts Capability Agent actions that the application may need to access.
|
virtualdefault |
Destructor.
|
pure virtual |
Adds an observer to be notified of alert status changes.
observer | The observer to add. |
|
pure virtual |
This function provides a way for application code to request this object stop any active alert as the result of a user action, such as pressing a physical 'stop' button on the device.
Implemented in alexaClientSDK::acsdkAlerts::AlertsCapabilityAgent.
|
pure virtual |
A function that allows an application to clear all alerts from storage. This may be useful for a scenario where a user logs out of a device, and another user will log in. As the first user logs out, their pending alerts should not go off.
Implemented in alexaClientSDK::acsdkAlerts::AlertsCapabilityAgent.
|
pure virtual |
Removes an observer from being notified of alert status changes.
observer | The observer to remove. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0