Android 12 Developer Preview is here! Try it out, and give us your feedback!


public abstract @interface ExperimentalCameraFilter
implements Annotation

Denotes that the annotated method uses an experimental API that customizes camera filters to select a specific camera.

CameraSelector.Builder.addCameraFilter(CameraFilter) can be used to add customized CameraFilter implementations to the camera selector. Those camera filters will be applied with the internal camera filters. If the CameraFilters result in no available camera, the camera selector will thrown an IllegalArgumentException.


Inherited methods