SalesforceMobileSDK-Android
Toggle table of contents
14.0.0-rc.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SalesforceMobileSDK-Android
SalesforceSDK
/
com.salesforce.androidsdk.util
/
ManagedFilesHelper
Managed
Files
Helper
open
class
ManagedFilesHelper
Utility class for listing / removing files "managed" by Mobile SDK.
Members
Constructors
Managed
Files
Helper
Link copied to clipboard
constructor
(
)
Functions
delete
File
Link copied to clipboard
open
fun
deleteFile
(
fileOrDir
:
File
)
:
Boolean
Delete fileOrDir or directory (recursively)
delete
Files
Link copied to clipboard
open
fun
deleteFiles
(
files
:
Array
<
File
>
)
:
Boolean
Delete fileOrDir or directory (recursively)
get
Files
Link copied to clipboard
open
fun
getFiles
(
ctx
:
Context
,
dirName
:
String
,
suffix
:
String
,
extension
:
String
,
excludingSuffix
:
String
)
:
Array
<
File
>
Get files with the given suffix and extension that live under dirName excluding the ones with excludingSuffix.
get
Prefix
List
Link copied to clipboard
open
fun
getPrefixList
(
ctx
:
Context
,
dirName
:
String
,
suffix
:
String
,
extension
:
String
,
excludingSuffix
:
String
)
:
List
<
String
>
Get "short name" (prefix) of managed files with the given suffix and extension that live under dirName excluding the ones with excludingSuffix.