blob: 901d59975e3520417131c504d42d531df7edf5ca [file]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
deprecated_syntax;
library fuchsia.device.manager.test;
// Max size of returned metadata
const uint32 METADATA_MAX_SIZE = 0x1000;
/// Protocol to query a driver's metadata. This is only used to test that the
/// isolateddevmgr sends test metadata correctly to drivers.
[ForDeprecatedCBindings]
protocol Metadata {
/// Recieves the metadata that the driver has been given.
GetMetadata(uint32 type) -> (vector<uint8>:METADATA_MAX_SIZE data);
};