startRecording
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
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
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