Camera2 provides an API for accessing effects—bokeh, HDR, and others—that have been implemented by phone manufacturers for specific phones.
However, apps that have complex
implementations can take advantage of the Camera2 extensions without having to
make significant changes to legacy code. The Camera2 extension APIs expose
exactly the same set of
in CameraX, and those are already supported on many different
devices, so you can use them without any