Package-level declarations

Types

Link copied to clipboard

Indicates this class is able to open the app's settings.

Link copied to clipboard
class Camera1Adapter(activity: Activity, previewView: ViewGroup, minimumResolution: Size, cameraErrorListener: CameraErrorListener, startWithBackCamera: Boolean = true) : CameraAdapter<CameraPreviewImage<Bitmap>> , Camera.PreviewCallback

A CameraAdapter that uses android's Camera 1 APIs to show previews and process images.

Link copied to clipboard

Indicates this class is able to check camera permission and handles the results accordingly.

Link copied to clipboard
data class CameraPreviewImage<ImageType>(val image: ImageType, val viewBounds: Rect)
Link copied to clipboard
class CameraXAdapter(activity: Activity, previewView: ViewGroup, minimumResolution: Size, cameraErrorListener: CameraErrorListener, startWithBackCamera: Boolean = true) : CameraAdapter<CameraPreviewImage<Bitmap>>

CameraAdaptor implementation with CameraX, should be used in favor or Camera1Adapter.

Link copied to clipboard

A basic implementation that displays error messages when there is a problem with the camera.