RestorePlacement

fun interface RestorePlacement(source)

Where a downloaded group goes. Called once every downloadable file of a group is local (per file when the file has no group), with the records whose RestoreFileRecord.toLocalPath now holds the bytes. The app validates, moves or imports them however it likes and answers. The default keeps files where they landed.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun place(group: String?, files: List<RestoreFileRecord>): PlacementResult