template <>
class WireWeakSyncClientImpl
Defined at line 9969 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::fuchsia_pkg::FontResolver::Resolve> Resolve (::fidl::StringView package_url, ::fidl::ServerEnd< ::fuchsia_io::Directory> && directory_request)
Populates or updates the cache of a font package, fetching it if it is not present on the
local system.
+ request `package_url` the package URL of a font package.
+ request `directory_request` a request for a directory that will be resolved when the
package has been successfully cached. The directory should contain a single file,
corresponding to the asset filename. The client should retain the directory handle
for as long as needed to prevent the package from being evicted from cache.
* error a zx_status value indicating failure. One of the following:
* `ZX_ERR_ACCESS_DENIED` if the resolver does not have permission to fetch a
package blob.
* `ZX_ERR_IO` if there is some other unspecified error during I/O.
* `ZX_ERR_NOT_FOUND` if the font package or a package blob does not exist, or is
not known to be a font package.
* `ZX_ERR_NO_SPACE` if there is no space available to store the package.
* `ZX_ERR_UNAVAILABLE` if the resolver is currently unable to fetch a package blob.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.