CameraX api 仅适用于 Kotlin 还是也适用于 Java?

byt*_*_bx 5 android-camerax

当我进入示例应用程序代码时,提到在创建项目时选择 Kotlin。

我以前使用过camera2 API。

小智 5

如果您的意思是开发基于camerax 的应用程序。你可以使用java。他们甚至在 JAVA 中也有示例应用程序。

https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-master-dev/camera/integration-tests/coretestapp