CameraQuirks

public class CameraQuirks


Provider of camera specific quirks.

Summary

Public methods

static @NonNull Quirks
get(
    @NonNull String cameraId,
    @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
public static Quirks get(
    @NonNull String cameraId,
    @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.

Parameters
@NonNull String cameraId

Camera id of the camera device used to filter quirks

@NonNull CameraCharacteristicsCompat cameraCharacteristicsCompat

Characteristics of the camera device user to filter quirks

Returns
Quirks

List of quirks associated with the camera identified by its id and CameraCharacteristics.