Secure File Manager
Toggle table of contents
0.1.9-beta
release
Target filter
release
Switch theme
Search in API
Skip to content
Secure File Manager
app
/
ltechnologies.onionphone.securefilemanager.storage
/
TrashManager
Trash
Manager
object
TrashManager
Members
Types
Trashed
Item
Link copied to clipboard
data
class
TrashedItem
(
val
trashPath
:
String
,
val
originalPath
:
String
,
val
name
:
String
,
val
deletedAt
:
Long
,
val
isDirectory
:
Boolean
)
Properties
TRASH_
DIR
Link copied to clipboard
const
val
TRASH_DIR
:
String
Functions
delete
Permanently
Link copied to clipboard
fun
deletePermanently
(
item
:
TrashManager.TrashedItem
)
:
Boolean
is
Trash
Path
Link copied to clipboard
fun
isTrashPath
(
context
:
Context
,
path
:
String
)
:
Boolean
list
Trashed
Link copied to clipboard
fun
listTrashed
(
context
:
Context
)
:
List
<
TrashManager.TrashedItem
>
move
To
Trash
Link copied to clipboard
fun
moveToTrash
(
context
:
Context
,
source
:
File
)
:
Boolean
purge
Expired
Link copied to clipboard
fun
purgeExpired
(
context
:
Context
)
restore
Link copied to clipboard
fun
restore
(
context
:
Context
,
item
:
TrashManager.TrashedItem
)
:
Boolean
to
File
Dir
Item
Link copied to clipboard
fun
toFileDirItem
(
item
:
TrashManager.TrashedItem
)
:
FileDirItem
trash
Dir
Link copied to clipboard
fun
trashDir
(
context
:
Context
)
:
File