CaptureVideo

Creates a ComposableNavSpec.Launcher to open the camera to capture a video.

Parameters

ViewModel

the type of BaseLifecycleViewModel the result should be called on.

uri

The Uri where the captured video should be stored.

onResult

Callback method that returns whether a video was captured successfully.