blob: 6c70fd451a0e462484ba66097f94dab4ac99e660 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Which camera to use when picking images/videos while source is `ImageSource.camera`.
///
/// Not every device supports both of the positions.
enum CameraDevice {
/// Use the rear camera.
///
/// In most of the cases, it is the default configuration.
rear,
/// Use the front camera.
///
/// Supported on all iPhones/iPads and some Android devices.
front,
}