Package-level declarations
Types
Link copied to clipboard
Indicates this class is able to open the app's settings.
Link copied to clipboard
class
A CameraAdapter that uses android's Camera 1 APIs to show previews and process images.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class CameraPermissionCheckingActivity : AppCompatActivity, CameraPermissionEnsureable, AppSettingsOpenable
A AppCompatActivity class to handle camera permission. Subclass should override onCameraReady and onUserDeniedCameraPermission.
Link copied to clipboard
Indicates this class is able to check camera permission and handles the results accordingly.
Link copied to clipboard
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
class DefaultCameraErrorListener(context: Context, callback: (Throwable?) -> Unit) : CameraErrorListener
A basic implementation that displays error messages when there is a problem with the camera.