class TypefaceRequest

Defined at line 1601 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

Parameters for requesting a typeface.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

TypefaceRequest & set_query (::fuchsia::fonts::TypefaceQuery _value)
TypefaceRequest & set_flags (::fuchsia::fonts::TypefaceRequestFlags _value)
TypefaceRequest & set_cache_miss_policy (::fuchsia::fonts::CacheMissPolicy _value)
void TypefaceRequest ()
void TypefaceRequest (TypefaceRequest && other)
void ~TypefaceRequest ()
TypefaceRequest & operator= (TypefaceRequest && other)
::std::unique_ptr<TypefaceRequest> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, TypefaceRequest * _value, size_t _offset)
zx_status_t Clone (TypefaceRequest * _result)
const ::fuchsia::fonts::TypefaceQuery & query ()

Parameters for looking up a typeface.

Defined at line 1608 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

bool has_query ()

Defined at line 1612 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

::fuchsia::fonts::TypefaceQuery * mutable_query ()

Parameters for looking up a typeface.

Defined at line 1617 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

void clear_query ()

Defined at line 1625 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

const ::fuchsia::fonts::TypefaceRequestFlags & flags ()

Flags for how to process the request, such as which kinds of substitutions are permitted.

Defined at line 1634 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

bool has_flags ()

Defined at line 1638 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

::fuchsia::fonts::TypefaceRequestFlags * mutable_flags ()

Flags for how to process the request, such as which kinds of substitutions are permitted.

Defined at line 1643 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

void clear_flags ()

Defined at line 1651 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

const ::fuchsia::fonts::CacheMissPolicy & cache_miss_policy ()

Setting for what to do if the requested typeface exists but is not cached, and therefore

cannot be served immediately.

If this field is empty, the default policy is

[`fuchsia.fonts/CacheMissPolicy.BLOCK_UNTIL_DOWNLOADED`].

If the client needs an immediate response, it can choose one of the non-blocking policies.

In this case, clients can also register to be notified when new fonts have been added to the

cache by calling [`fuchsia.fonts/Provider.RegisterFontSetEventListener`].

Defined at line 1668 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

bool has_cache_miss_policy ()

Defined at line 1672 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

::fuchsia::fonts::CacheMissPolicy * mutable_cache_miss_policy ()

Setting for what to do if the requested typeface exists but is not cached, and therefore

cannot be served immediately.

If this field is empty, the default policy is

[`fuchsia.fonts/CacheMissPolicy.BLOCK_UNTIL_DOWNLOADED`].

If the client needs an immediate response, it can choose one of the non-blocking policies.

In this case, clients can also register to be notified when new fonts have been added to the

cache by calling [`fuchsia.fonts/Provider.RegisterFontSetEventListener`].

Defined at line 1685 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h

void clear_cache_miss_policy ()

Defined at line 1693 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/hlcpp/fuchsia/fonts/cpp/fidl.h