CameraInfo

data class CameraInfo(    val name: String,     val isFrontFacing: Boolean,     val formats: Iterable<FrameFormat>)

Camera name and supported formats

Constructors

Link copied to clipboard
fun CameraInfo(    name: String,     isFrontFacing: Boolean,     formats: Iterable<FrameFormat>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun withFormat(format: FrameFormat): CameraFormat

Create a CameraFormat using this camera and the supplied CameraFormat

Properties

Link copied to clipboard
val formats: Iterable<FrameFormat>

formats supported by this camera

Link copied to clipboard
val isFrontFacing: Boolean
Link copied to clipboard
val name: String

Camera name