AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <NotificationIndicator.h>
Classes | |
struct | Asset |
Public Member Functions | |
NotificationIndicator () | |
NotificationIndicator (bool persistVisualIndicator, bool playAudioIndicator, const std::string &assetId, const std::string &url) | |
Public Attributes | |
bool | persistVisualIndicator |
bool | playAudioIndicator |
struct alexaClientSDK::acsdkNotifications::NotificationIndicator::Asset | asset |
A struct representation of a NotificationIndicator
.
There is one instance of this class created per SetIndicator directive.
alexaClientSDK::acsdkNotifications::NotificationIndicator::NotificationIndicator | ( | ) |
Default constructor
alexaClientSDK::acsdkNotifications::NotificationIndicator::NotificationIndicator | ( | bool | persistVisualIndicator, |
bool | playAudioIndicator, | ||
const std::string & | assetId, | ||
const std::string & | url | ||
) |
Constructor
persistVisualIndicator | A flag indicating whether the visual indicator on the device should stay lit. |
playAudioIndicator | A flag indicating whether audio should be played. |
assetId | The id of the audio asset to be played. |
url | The url of the audio asset to be played. |
struct alexaClientSDK::acsdkNotifications::NotificationIndicator::Asset alexaClientSDK::acsdkNotifications::NotificationIndicator::asset |
bool alexaClientSDK::acsdkNotifications::NotificationIndicator::persistVisualIndicator |
Flag specifying if the device must display a persistent visual indicator when processing this NotificationIndicator
.
bool alexaClientSDK::acsdkNotifications::NotificationIndicator::playAudioIndicator |
Flag specifying if the device must play audio when processing this NotificationIndicator
.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0