//camera/com.pixelnetica.camera/CameraContract/CameraParams

CameraParams

[androidJvm]
data class CameraParams(val outputDir: String? = null, val tmpPrefix: String? = null, val authority: String? = null, val singleShot: Boolean = false, val shotOnTap: Boolean = true, val autoShotMode: Int = FrameObserver.Observation.CUTOUT_READY or FrameObserver.Observation.DEVICE_READY) : Parcelable

Parameters to launch CameraActivity

Constructors

  
CameraParams[androidJvm]
constructor(outputDir: String? = null, tmpPrefix: String? = null, authority: String? = null, singleShot: Boolean = false, shotOnTap: Boolean = true, autoShotMode: Int = FrameObserver.Observation.CUTOUT_READY or FrameObserver.Observation.DEVICE_READY)

Properties

NameSummary
authority[androidJvm]
val authority: String? = null
An authority for file provider
autoShotMode[androidJvm]
val autoShotMode: Int
A list of conditions for auto shot
outputDir[androidJvm]
val outputDir: String? = null
A directory to store shots
shotOnTap[androidJvm]
val shotOnTap: Boolean = true
Perform a shot on tap on the screen
singleShot[androidJvm]
val singleShot: Boolean = false
Finish camera activity after first shot
tmpPrefix[androidJvm]
val tmpPrefix: String? = null
A prefix for shot files
Top