fuchsia.driver.metadata

Added: HEAD

PROTOCOLS

Metadata

Defined in fuchsia.driver.metadata/fuchsia.driver.metadata.fidl

GetPersistedMetadata

Retrieve the persisted metadata provided by the server. Returns ZX_ERR_NOT_FOUND if the server does not have metadata to provide.

Request

<EMPTY>

Response

NameType
payload Metadata_GetPersistedMetadata_Result

STRUCTS

DictionaryEntry

Defined in fuchsia.driver.metadata/dictionary.fidl

A key/value pair in a Dictionary.

FieldTypeDescriptionDefault
key string:1024

The key for a dictionary entry. Nested dictionaries are represented by flattening the keys using '.' as a separator. For example, a key "a.b" with value 42 represents a dictionary "a" containing a key "b" with value 42.

No default
value DictionaryValue

The value associated with the key.

No default

Metadata_GetPersistedMetadata_Response

Defined in fuchsia.driver.metadata/fuchsia.driver.metadata.fidl

FieldTypeDescriptionDefault
persisted_metadata vector<uint8>

The persisted metadata. Assumed to be a persisted FIDL object. The actual type of the FIDL object is decided outside of this function.

No default

TABLES

Dictionary

Defined in fuchsia.driver.metadata/dictionary.fidl

A dictionary-like structure for generic metadata.

OrdinalFieldTypeDescription
entries vector<DictionaryEntry>:1024

A list of dictionary entries, where each entry is a (key, value) pair.

UNIONS

DictionaryValue flexible

Defined in fuchsia.driver.metadata/dictionary.fidl

A dictionary's value is an integer or a list of integers.

OrdinalVariantTypeDescription
int64 int64
int64_vec vector<int64>:1024

Metadata_GetPersistedMetadata_Result strict

Defined in fuchsia.driver.metadata/fuchsia.driver.metadata.fidl

OrdinalVariantTypeDescription
response Metadata_GetPersistedMetadata_Response
err zx/Status

CONSTANTS

NameValueTypeDescription
MAX_KEY_LENGTH 1024 uint32
MAX_NUM_ENTRIES 1024 uint32
MAX_NUM_VALUE_ITEMS 1024 uint32
MAX_VALUE_LENGTH 32768 uint32

SERVICES

Service

Defined in fuchsia.driver.metadata/fuchsia.driver.metadata.fidl

NameTypeTransport
metadata fuchsia.driver.metadata/Metadata Channel