CameraContract Class
class CameraContract : ActivityResultContract<CameraContract.CameraParams, List<Uri>>
Launches the SDK camera and returns the pages the user captured.
Register it with registerForActivityResult and launch it with CameraParams.
Constructors
CameraContract
constructor()
Types
CameraParams
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
How the camera screen should behave for this launch.