Skip to content

library / dev.bmcreations.scrcast.config / StorageConfig / <init>

<init>

StorageConfig(directoryName:String= "scrcast", directory:File= Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES), fileNameFormatter:FileFormatter= { SimpleDateFormat("MM_dd_yyyy_hhmmss", Locale.getDefault()).format(Date()) }, outputFormat:Int= MediaRecorder.OutputFormat.MPEG_4, maxSizeMB:Float= 0f)

An immutable data class representing configuration options for the storage of the output file.