AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Static Public Member Functions | List of all members
alexaClientSDK::acsdkNotifications::NotificationsNotifier Class Reference

#include <NotificationsNotifier.h>

Inheritance diagram for alexaClientSDK::acsdkNotifications::NotificationsNotifier:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::acsdkNotifications::NotificationsNotifier:
Collaboration graph
[legend]

Static Public Member Functions

static std::shared_ptr< acsdkNotificationsInterfaces::NotificationsNotifierInterfacecreateNotificationsNotifierInterface (const std::shared_ptr< NotificationsCapabilityAgent > &notificationsCapabilityAgent)
 

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
 

Detailed Description

Relays notifications related to Notifications.

Member Function Documentation

◆ createNotificationsNotifierInterface()

static std::shared_ptr<acsdkNotificationsInterfaces::NotificationsNotifierInterface> alexaClientSDK::acsdkNotifications::NotificationsNotifier::createNotificationsNotifierInterface ( const std::shared_ptr< NotificationsCapabilityAgent > &  notificationsCapabilityAgent)
static

Factory method.

Parameters
notificationsCapabilityAgentThe capability agent that provides this notifier.
Returns
The NotificationsCapabilityAgent's instance of NotificationsNotifierInterface.

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

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