TempFileWritingStrategy

constructor(@NonNull tempFile: File)

Creates a new TempFileWritingStrategy.

Parameters

tempFile

The file to write to, this will be deleted once the write operation is done.


constructor(@NonNull context: Context)

Creates a new TempFileWritingStrategy.

Parameters

context

Context to use to obtain the cache directory for creating a temporary file.