AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TextStyle.h>
Public Member Functions | |
TextStyle (size_t index=0, const Style &style=Style()) | |
bool | operator== (const TextStyle &rhs) const |
bool | operator!= (const TextStyle &rhs) const |
Public Attributes | |
size_t | charIndex |
The character index from which the activeStyle should be applied. More... | |
Style | activeStyle |
The styles that are active and should be applied from this charIndex forward. More... | |
Container to describe style text that should be applied starting at a given index.
Constructor.
index | The character index from which the style should be applied. |
style | The styles that are active and should be applied from this index forward. |
bool alexaClientSDK::captions::TextStyle::operator!= | ( | const TextStyle & | rhs | ) | const |
Operator != to compare TextStyle
values.
rhs | The right hand side of the != operation. |
rhs
are not equivalent. bool alexaClientSDK::captions::TextStyle::operator== | ( | const TextStyle & | rhs | ) | const |
Operator == to compare TextStyle
values.
rhs | The right hand side of the == operation. |
rhs
are equivalent. Style alexaClientSDK::captions::TextStyle::activeStyle |
The styles that are active and should be applied from this charIndex
forward.
size_t alexaClientSDK::captions::TextStyle::charIndex |
The character index from which the activeStyle
should be applied.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0