The Kotlin Android Camera2 API Device Id development tutorial describes how to get the device id relating to a specific camera lens.
This Kotlin on Android tutorial follows on from EasyPermissions tutorial.
In this Kotlin on Android tutorial we will cover:
- Creating a value for camera manager using Kotlin lazy {}
- Creating helper method for getting lens CameraCharacteristics items
- Example usage of Kotlin expression when
- Creating a function to get camera device id
- Example usage of Kotlin filters
Episodes
- Create TextureView
- Camera2 EasyPermissions
- Get Id for Camera Device
- Connect to Camera Device
- Display Rear Camera
- Display front Camera (Premium)
- Using Preview with SurfaceView (Premium)