![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CaptionData.h>
Public Member Functions | |
| CaptionData (const CaptionFormat format=CaptionFormat::UNKNOWN, const std::string &content="") | |
| bool | isValid () const |
| bool | operator== (const CaptionData &rhs) const |
| bool | operator!= (const CaptionData &rhs) const |
Public Attributes | |
| CaptionFormat | format |
| The format of the un-processed caption content. More... | |
| std::string | content |
| The un-processed caption content. More... | |
A container for un-processed caption content and metadata of a particular caption format.
|
inline |
Constructor.
| format | The caption format enum value. |
| content | The caption content. |
| bool alexaClientSDK::captions::CaptionData::isValid | ( | ) | const |
Indicates if the data contained in this struct is valid caption data.
|
inline |
Operator != for CaptionData.
| rhs | The right hand side of the != operation. |
rhs are not equivalent.
|
inline |
Operator == to compare CaptionData values.
| rhs | The right hand side of the == operation. |
rhs are equivalent. | std::string alexaClientSDK::captions::CaptionData::content |
The un-processed caption content.
| CaptionFormat alexaClientSDK::captions::CaptionData::format |
The format of the un-processed caption content.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0