CameraQuirks

@RequiresApi(21) open class CameraQuirks
kotlin.Any
   ↳ androidx.camera.camera2.internal.compat.quirk.CameraQuirks

Provider of camera specific quirks.

Summary

Public methods
open static Quirks
get(@NonNull cameraId: String, @NonNull cameraCharacteristicsCompat: CameraCharacteristicsCompat)

Goes through all defined camera specific quirks, then filters them to retrieve quirks required for the camera identified by the provided camera id and CameraCharacteristics.

Public methods

get

@NonNull open static fun get(
    @NonNull cameraId: String,
    @NonNull cameraCharacteristicsCompat: CameraCharacteristicsCompat
): Quirks

Goes through all defined camera specific quirks, then filters them to retrieve quirks required for the camera identified by the provided camera id and CameraCharacteristics.

Parameters
cameraId String: Camera id of the camera device used to filter quirks
cameraCharacteristicsCompat CameraCharacteristicsCompat: Characteristics of the camera device user to filter quirks
Return
Quirks List of quirks associated with the camera identified by its id and CameraCharacteristics.