deleteRecording

abstract fun deleteRecording(recordingFile: File): Result<Unit>

Deleted the recording to the file provided by recordingFile.

Return

A Unit wrapped inside a Result if recording has been deleted successfully. Returns a ChatError wrapped inside Result if the action had failed.

Parameters

recordingFile

The File to be deleted.