class TypefaceRequest
Defined at line 1590 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
Parameters for requesting a typeface.
Public Methods
void TypefaceRequest (Storage_ storage)
void TypefaceRequest ()
Defined at line 1596 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
void TypefaceRequest (TypefaceRequest && )
Defined at line 1597 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
void TypefaceRequest (const TypefaceRequest & other)
TypefaceRequest & operator= (TypefaceRequest && )
Defined at line 1598 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_types.h
TypefaceRequest & operator= (const TypefaceRequest & other)
bool operator== (const TypefaceRequest & other)
bool operator!= (const TypefaceRequest & other)
bool IsEmpty ()
const std::optional< ::fuchsia_fonts::TypefaceQuery> & query ()
Parameters for looking up a typeface.
::std::optional< ::fuchsia_fonts::TypefaceQuery> & query ()
Parameters for looking up a typeface.
TypefaceRequest & query (std::optional< ::fuchsia_fonts::TypefaceQuery> value)
Parameters for looking up a typeface.
const std::optional< ::fuchsia_fonts::TypefaceRequestFlags> & flags ()
Flags for how to process the request, such as which kinds of substitutions are permitted.
::std::optional< ::fuchsia_fonts::TypefaceRequestFlags> & flags ()
Flags for how to process the request, such as which kinds of substitutions are permitted.
TypefaceRequest & flags (std::optional< ::fuchsia_fonts::TypefaceRequestFlags> value)
Flags for how to process the request, such as which kinds of substitutions are permitted.
const std::optional< ::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`].
::std::optional< ::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`].
TypefaceRequest & cache_miss_policy (std::optional< ::fuchsia_fonts::CacheMissPolicy> value)
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`].
void TypefaceRequest (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits