TempFileWritingStrategy

constructor(context: Context)

Creates a new TempFileWritingStrategy.

Parameters

context

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


constructor(tempFile: File)

Parameters

tempFile

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