AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <NotificationsNotifier.h>
Static Public Member Functions | |
static std::shared_ptr< acsdkNotificationsInterfaces::NotificationsNotifierInterface > | createNotificationsNotifierInterface (const std::shared_ptr< NotificationsCapabilityAgent > ¬ificationsCapabilityAgent) |
Additional Inherited Members | |
Public Member Functions inherited from alexaClientSDK::notifier::Notifier< acsdkNotificationsInterfaces::NotificationsObserverInterface > | |
Notifier () | |
void | addObserver (const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &observer) override |
Add an observer. More... | |
void | removeObserver (const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &observer) override |
Remove an observer. More... | |
void | addWeakPtrObserver (const std::weak_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &observer) override |
Add a weak reference to an observer. More... | |
void | removeWeakPtrObserver (const std::weak_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &observer) override |
Remove an observer. More... | |
void | notifyObservers (std::function< void(const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &)> notify) override |
Notify the observers in the order that they were added. More... | |
bool | notifyObserversInReverse (std::function< void(const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &)> notify) override |
Notify the observers in the reverse order that they were added. More... | |
void | setAddObserverFunction (std::function< void(const std::shared_ptr< acsdkNotificationsInterfaces::NotificationsObserverInterface > &)> addObserverFunc) override |
Set a function for notifications on an observer additions. More... | |
Public Member Functions inherited from alexaClientSDK::notifierInterfaces::NotifierInterface< acsdkNotificationsInterfaces::NotificationsObserverInterface > | |
virtual | ~NotifierInterface ()=default |
Relays notifications related to Notifications.
|
static |
Factory method.
notificationsCapabilityAgent | The capability agent that provides this notifier. |
NotificationsCapabilityAgent's
instance of NotificationsNotifierInterface
. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0