CameraAdapter
Constructors
Types
Functions
Link copied to clipboard
Bind this camera manager to a lifecycle.
Link copied to clipboard
Change to a new camera.
Link copied to clipboard
Determine which camera is currently in use.
Link copied to clipboard
Get the stream of images from the camera. This is a hot Flow of images with a back pressure strategy DROP. Images that are not read from the flow are dropped. This flow is backed by a Channel.
Link copied to clipboard
Determine if the adapter is currently bound.
Link copied to clipboard
open override fun onStateChanged(source: LifecycleOwner, event: Lifecycle.Event)
Content copied to clipboard
Link copied to clipboard
Turn the camera torch on or off.
Link copied to clipboard
Unbind this camera from a lifecycle. This will pause the camera.
Link copied to clipboard
Execute a task with flash support.
Link copied to clipboard
Determine if the device has multiple cameras.