blob: 1ff0cc0582a3f7ce077c9836e262ce288fe090d2 [file] [log] [blame]
// Copyright 2020 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.camera.test;
using fuchsia.hardware.camera;
/// This interface provides manipulation methods for a standard DeviceWatcher. This is intended for
/// test purposes only.
@discoverable
closed protocol DeviceWatcherTester {
/// Inserts the given controller implementation as a new device.
strict InjectDevice(resource struct {
camera client_end:fuchsia.hardware.camera.Device;
});
/// Inserts the given controller implementation as a new device path.
strict InjectDeviceByPath(resource struct {
path string;
});
};