startRecording

@RequiresPermission(value = <Unsupported Annotation Value>::class)
abstract fun startRecording(fileOutputOptions: FileOutputOptions, audioConfig: AudioConfig = AudioConfig.create(true), onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)

Start recording camera.

Parameters

fileOutputOptions

file output options where the video will be saved

onResult

Callback called when CaptureResult is ready


@RequiresApi(value = <Unsupported Annotation Value>::class)
@RequiresPermission(value = <Unsupported Annotation Value>::class)
abstract fun startRecording(fileDescriptorOutputOptions: FileDescriptorOutputOptions, audioConfig: AudioConfig = AudioConfig.create(true), onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)

Start recording camera.

Parameters

fileDescriptorOutputOptions

file output options where the video will be saved

onResult

Callback called when CaptureResult is ready


@RequiresPermission(value = <Unsupported Annotation Value>::class)
abstract fun startRecording(mediaStoreOutputOptions: MediaStoreOutputOptions, audioConfig: AudioConfig = AudioConfig.create(true), onResult: (CaptureResult<ERROR CLASS: Symbol not found for Uri??>) -> Unit)

Start recording camera.

Parameters

mediaStoreOutputOptions

media store output options to the video to be saved.

onResult

Callback called when CaptureResult is ready