create

fun create(outputPath: String, config: SonixRecorderConfig = SonixRecorderConfig.VOICE, audioSession: AudioMode = AudioMode.RECORDING): SonixRecorder

Create recorder with configuration.

Return

Ready-to-use SonixRecorder

Parameters

outputPath

Path where the recording will be saved

config

Recorder configuration (default: VOICE)

audioSession

Audio session mode - configures system audio automatically (default: RECORDING)