class CaptionsSettings

Defined at line 980 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

What kind of sources get closed captions, and how they look.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

CaptionsSettings & set_for_media (bool _value)
CaptionsSettings & set_for_tts (bool _value)
CaptionsSettings & set_font_style (::fuchsia::settings::CaptionFontStyle _value)
CaptionsSettings & set_window_color (::fuchsia::ui::types::ColorRgba _value)
CaptionsSettings & set_background_color (::fuchsia::ui::types::ColorRgba _value)
void CaptionsSettings ()
void CaptionsSettings (CaptionsSettings && other)
void ~CaptionsSettings ()
CaptionsSettings & operator= (CaptionsSettings && other)
::std::unique_ptr<CaptionsSettings> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, CaptionsSettings * _value, size_t _offset)
zx_status_t Clone (CaptionsSettings * _result)
const bool & for_media ()

Closed captions enabled for media sources of audio.

Defined at line 987 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_for_media ()

Defined at line 991 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool * mutable_for_media ()

Closed captions enabled for media sources of audio.

Defined at line 996 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_for_media ()

Defined at line 1004 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const bool & for_tts ()

Closed captions enabled for Text-To-Speech sources of audio.

Defined at line 1013 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_for_tts ()

Defined at line 1017 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool * mutable_for_tts ()

Closed captions enabled for Text-To-Speech sources of audio.

Defined at line 1022 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_for_tts ()

Defined at line 1030 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const ::fuchsia::settings::CaptionFontStyle & font_style ()

Font style and color used for the closed captions text.

Defined at line 1039 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_font_style ()

Defined at line 1043 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::fuchsia::settings::CaptionFontStyle * mutable_font_style ()

Font style and color used for the closed captions text.

Defined at line 1048 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_font_style ()

Defined at line 1056 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const ::fuchsia::ui::types::ColorRgba & window_color ()

Border color used around the closed captions window.

Each color channel should be a finite number otherwise will cause

SetAccessibilityInfo to fail with INVALID_VALUE.

Defined at line 1068 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_window_color ()

Defined at line 1072 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::fuchsia::ui::types::ColorRgba * mutable_window_color ()

Border color used around the closed captions window.

Each color channel should be a finite number otherwise will cause

SetAccessibilityInfo to fail with INVALID_VALUE.

Defined at line 1080 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_window_color ()

Defined at line 1088 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

const ::fuchsia::ui::types::ColorRgba & background_color ()

Background color of the closed captions window.

Each color channel should be a finite number otherwise will cause

SetAccessibilityInfo to fail with INVALID_VALUE.

Defined at line 1100 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

bool has_background_color ()

Defined at line 1104 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

::fuchsia::ui::types::ColorRgba * mutable_background_color ()

Background color of the closed captions window.

Each color channel should be a finite number otherwise will cause

SetAccessibilityInfo to fail with INVALID_VALUE.

Defined at line 1112 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h

void clear_background_color ()

Defined at line 1120 of file fidling/gen/sdk/fidl/fuchsia.settings/fuchsia.settings/hlcpp/fuchsia/settings/cpp/fidl.h