Package-level declarations

Types

Link copied to clipboard
class CameraXSetup(view: PreviewView, lifeCycle: LifecycleOwner, lensFacing: Int)

CameraXSetup define CameraX configuration and support manipulate its' functionality like adding and removing UseCase

Functions

Link copied to clipboard
fun ArcActivity<*>.setupCameraX(view: PreviewView, lensFacing: Int = LENS_FACING_BACK): CameraXSetup

Function to configure CameraXSetup from given ArcActivity and also adding androidx.camera.core.Preview

fun ArcFragment<*>.setupCameraX(view: PreviewView, lensFacing: Int = LENS_FACING_BACK): CameraXSetup

Function to configure CameraXSetup from given ArcFragment and also adding androidx.camera.core.Preview