maxFileCount

fun maxFileCount(maxFileCount: Int): RoomBackup

Set max backup files count if fileCount is maxFileCount the oldest backup file will be deleted is for both internal and external storage

Parameters

maxFileCount

Int, default = null