template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_fonts::Provider>|,

avoiding setting up a client.

Public Methods

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

Deprecated. See `GetTypeface`.

Returns font that matches specified `request`.

Allocates 48 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::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. Response is heap-allocated.

::fidl::WireResult< ::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.)

Request is heap-allocated. Response is heap-allocated.

::fidl::WireResult< ::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. Response is heap-allocated.

::fidl::WireResult< ::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 40 bytes of message buffer on the stack. No heap allocation necessary.