template <>
class NaturalClientImpl
Defined at line 298 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/natural_messaging.h
Public Methods
::fidl::internal::NaturalThenable< ::fuchsia_fonts::Provider::GetFont> GetFont (const ::fidl::Request< ::fuchsia_fonts::Provider::GetFont> & request)
Deprecated. See `GetTypeface`.
Returns font that matches specified `request`.
::fidl::internal::NaturalThenable< ::fuchsia_fonts::Provider::GetFamilyInfo> GetFamilyInfo (const ::fidl::Request< ::fuchsia_fonts::Provider::GetFamilyInfo> & request)
Deprecated. See `GetFontFamilyInfo`.
Returns information for the specified font family or null if there is
no family with the specified name. This function respects family name
aliases and ignores case, so request for "robotoSLAB" will return
FamilyInfo for "Roboto Slab".
::fidl::internal::NaturalThenable< ::fuchsia_fonts::Provider::GetTypeface> GetTypeface (const ::fidl::Request< ::fuchsia_fonts::Provider::GetTypeface> & request)
Returns a typeface that matches the specified `request`, or an empty table if no matching
face is found. (The latter is more likely to happen if `TypefaceRequestFlags.EXACT_FAMILY`
is used to disable fallbacks.)
::fidl::internal::NaturalThenable< ::fuchsia_fonts::Provider::GetFontFamilyInfo> GetFontFamilyInfo (const ::fidl::Request< ::fuchsia_fonts::Provider::GetFontFamilyInfo> & request)
Returns information for the specified font family, or an empty table if there is no family
with the specified name.
This function respects family name aliases and ignores case. For example, "RobotoSlab" is an
alias for the canonical name "Roboto Slab". A request for "robotoSLAB" would return the
`FontFamilyInfo` for "Roboto Slab" due to the case-insensitivity and alias resolution.
::fidl::internal::NaturalThenable< ::fuchsia_fonts::Provider::RegisterFontSetEventListener> RegisterFontSetEventListener (::fidl::Request< ::fuchsia_fonts::Provider::RegisterFontSetEventListener> request)
Register a listener to be notified when the set of available fonts or mappings has changed.
A client can register as many listeners as it wishes.
To unregister, close the channel.