blob: e286edadd96dcc93bef3fa8536697cabb13f6944 [file] [log] [blame]
// Copyright 2018 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.simplecamera;
using fuchsia.images;
// Simple camera interface. This will be deprecated when
// CameraManager replaces it.
[Discoverable]
protocol SimpleCamera {
// Connect to a camera using the first enumerated format.
// The device opened will be /dev/class/camera/camera_id
ConnectToCamera(uint32 camera_id, fuchsia.images.ImagePipe image_pipe);
};