template <>

class WireWeakAsyncClientImpl

Defined at line 1709 of file fidling/gen/sdk/fidl/fuchsia.fonts/fuchsia.fonts/cpp/fidl/fuchsia.fonts/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_fonts::Provider::GetFont> GetFont (const ::fuchsia_fonts::wire::Request & request)

Deprecated. See `GetTypeface`.

Returns font that matches specified `request`.

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_fonts::Provider::GetFamilyInfo> GetFamilyInfo (::fidl::StringView family)

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".

Allocates 160 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_fonts::Provider::GetTypeface> GetTypeface (::fuchsia_fonts::wire::TypefaceRequest 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.)

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_fonts::Provider::GetFontFamilyInfo> GetFontFamilyInfo (const ::fuchsia_fonts::wire::FamilyName & family)

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.

Allocates 160 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_fonts::Provider::RegisterFontSetEventListener> RegisterFontSetEventListener (::fidl::ClientEnd< ::fuchsia_fonts::FontSetEventListener> && listener)

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.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.