blob: 4a670e03f6085f02855706ea81e92e852737d715 [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.
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);