NativePreviewView
Displays the Camera feed in a CameraX-backed Android PreviewView, see the common declaration.
Displays the Camera feed of a CameraPreviewOutput, using the platform's native preview view (me.nathanfallet.visioncamera.PreviewView, an Android View or an iOS UIView).
Parameters
The CameraPreviewOutput to display.
The Modifier of this view.
How the Camera feed is scaled into the view's bounds.
Whether the preview uses a SurfaceView or a TextureView (Android only).
Native GestureControllers to install on the view, see rememberGestureControllers.
A PreviewViewRef to call the view's methods, e.g. to create metering points.
Called when the preview started streaming.
Called when the preview stopped streaming.
Displays the Camera feed in an AVFoundation-backed iOS PreviewView, see the common declaration.