blob: 12d8ae643dc53c18981515c311c0b152f44806f4 [file] [log] [blame]
// 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.
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);
};