template <>
class NaturalClientImpl
Defined at line 2372 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/natural_messaging.h
Public Methods
::fidl::internal::NaturalThenable< ::fuchsia_component::StorageAdmin::OpenStorage> OpenStorage (::fidl::Request< ::fuchsia_component::StorageAdmin::OpenStorage> request)
Opens the isolated directory for the given component. The provided
moniker is relative to the component that declares the storage
capability. Creates the backing sub-directory for this storage if it
hasn't yet been created.
::fidl::internal::NaturalThenable< ::fuchsia_component::StorageAdmin::ListStorageInRealm> ListStorageInRealm (::fidl::Request< ::fuchsia_component::StorageAdmin::ListStorageInRealm> request)
Lists the descendant components under the specified realm that use the
storage capability. The provided moniker is relative to the component
that declares the storage capability.
Returns INSTANCE_NOT_FOUND if the realm does not exist, and INVALID_ARGS
if |relative_moniker| is malformed.
::fidl::internal::NaturalThenable< ::fuchsia_component::StorageAdmin::OpenComponentStorageById> OpenComponentStorageById (::fidl::Request< ::fuchsia_component::StorageAdmin::OpenComponentStorageById> request)
Opens the isolated directory for the given storage ID. Creates the
backing sub-directory for this storage if it hasn't yet been created.
::fidl::internal::NaturalThenable< ::fuchsia_component::StorageAdmin::DeleteComponentStorage> DeleteComponentStorage (const ::fidl::Request< ::fuchsia_component::StorageAdmin::DeleteComponentStorage> & request)
Deletes the contents of the storage for this component. Preserves the
component's subdirectory itself within the storage backing directory.
The provided moniker is relative to the component that declares the
storage capability.
::fidl::internal::NaturalThenable< ::fuchsia_component::StorageAdmin::GetStatus> GetStatus ()
Get the current status of the storage.
::fidl::internal::NaturalThenable< ::fuchsia_component::StorageAdmin::DeleteAllStorageContents> DeleteAllStorageContents ()
Deletes the contents of all the storage. Storage directories are
retained so any components using storage will be able to continue using
it to create new files and directories.
Returns Error::INTERNAL only if no storage at all could be cleared.
Returns successfully even if some errors happen during the deletion
progress.