AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TextStyle.h>
Public Member Functions | |
Style (bool bold=false, bool italic=false, bool underline=false) | |
bool | operator== (const Style &rhs) const |
bool | operator!= (const Style &rhs) const |
Public Attributes | |
bool | m_bold |
Indicates whether the bolded text appearance should be applied to the text. More... | |
bool | m_italic |
Indicates whether the italic text appearance should be applied to the text. More... | |
bool | m_underline |
Indicates whether the underlined text appearance should be applied to the text. More... | |
Container used to describe basic text markup, such as bold, italic, etc.
alexaClientSDK::captions::Style::Style | ( | bool | bold = false , |
bool | italic = false , |
||
bool | underline = false |
||
) |
Constructor.
bold | whether the bolded text appearance should be applied to the text. |
italic | whether the italic text appearance should be applied to the text. |
underline | whether the underlined text appearance should be applied to the text. |
bool alexaClientSDK::captions::Style::operator!= | ( | const Style & | rhs | ) | const |
Operator == to compare Style
values.
rhs | The right hand side of the == operation. |
rhs
are equivalent. bool alexaClientSDK::captions::Style::operator== | ( | const Style & | rhs | ) | const |
Operator == to compare Style
values.
rhs | The right hand side of the == operation. |
rhs
are equivalent. bool alexaClientSDK::captions::Style::m_bold |
Indicates whether the bolded text appearance should be applied to the text.
bool alexaClientSDK::captions::Style::m_italic |
Indicates whether the italic text appearance should be applied to the text.
bool alexaClientSDK::captions::Style::m_underline |
Indicates whether the underlined text appearance should be applied to the text.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0