AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Namespaces | |
test | |
Classes | |
struct | CaptionData |
class | CaptionFrame |
class | CaptionFrameParseListenerInterface |
struct | CaptionLine |
class | CaptionManager |
class | CaptionManagerInterface |
class | CaptionParserInterface |
class | CaptionPresenterInterface |
class | CaptionTimingAdapter |
class | CaptionTimingAdapterInterface |
class | DelayInterface |
class | LibwebvttParserAdapter |
struct | Style |
class | SystemClockDelay |
struct | TextStyle |
class | TimingAdapterFactory |
Typedefs | |
using | CaptionsComponent = acsdkManufactory::Component< std::shared_ptr< CaptionManagerInterface >, acsdkManufactory::Import< std::shared_ptr< acsdkShutdownManagerInterfaces::ShutdownNotifierInterface > >> |
Enumerations | |
enum | CaptionFormat { CaptionFormat::WEBVTT, CaptionFormat::UNKNOWN } |
Functions | |
CaptionsComponent | getComponent () |
CaptionFormat | avsStringToCaptionFormat (const std::string &text) |
std::ostream & | operator<< (std::ostream &stream, const CaptionFormat &format) |
std::ostream & | operator<< (std::ostream &stream, const CaptionFrame &frame) |
std::ostream & | operator<< (std::ostream &stream, const CaptionLine &line) |
std::ostream & | operator<< (std::ostream &stream, const Style &style) |
std::ostream & | operator<< (std::ostream &stream, const TextStyle &textStyle) |
using alexaClientSDK::captions::CaptionsComponent = typedef acsdkManufactory::Component< std::shared_ptr<CaptionManagerInterface>, acsdkManufactory::Import<std::shared_ptr<acsdkShutdownManagerInterfaces::ShutdownNotifierInterface> >> |
Definition of a Manufactory component for Captions.
|
strong |
An enumeration of caption formats supported by the SDK.
Enumerator | |
---|---|
WEBVTT | WebVTT formatted plain text, see https://www.w3.org/TR/webvtt1/. |
UNKNOWN | Unknown or unsupported format. |
|
inline |
Convert an AVS-compliant string
to a CaptionFormat
.
text | The AVS-compliant string to convert. |
CaptionFormat
if a match is found, otherwise CaptionFormat::UNKNOWN
. CaptionsComponent alexaClientSDK::captions::getComponent | ( | ) |
Creates an manufactory component that exports a shared pointer to an implementation of CaptionManagerInterface
.
|
inline |
Write a CaptionFormat
value to an ostream
as a string.
stream | The stream to write the value to. |
format | The CaptionFormat value to write to the ostream as a string. |
ostream
that was passed in and written to. std::ostream& alexaClientSDK::captions::operator<< | ( | std::ostream & | stream, |
const Style & | style | ||
) |
std::ostream& alexaClientSDK::captions::operator<< | ( | std::ostream & | stream, |
const CaptionLine & | line | ||
) |
Write a CaptionLine
value to an ostream
as a string.
stream | The stream to write the value to. |
cl | The caption line value to write to the ostream as a string. |
ostream
that was passed in and written to. std::ostream& alexaClientSDK::captions::operator<< | ( | std::ostream & | stream, |
const TextStyle & | textStyle | ||
) |
std::ostream& alexaClientSDK::captions::operator<< | ( | std::ostream & | stream, |
const CaptionFrame & | frame | ||
) |
Write a CaptionFrame
value to an ostream
as a string.
stream | The stream to write the value to. |
frame | The CaptionFrame value to write to the ostream as a string. |
ostream
that was passed in and written to. AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0