Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
ValidateDownloadDocumentsSelectionSds
Used when validating files for download
Parameters
Name Type Description

documentFilter

ApiDocumentFilter

Possible values: [ALL, ABOUT_TO_EXPIRE, RECENTLY_VIEWED, VALID_ONLY, SHARED_BY_ME, HIDDEN, RECENTLY_MODIFIED, SHARED_WITH_ME].

documentGuids

Set(String)

Required
Not null

downloadType

DownloadTypes

Possible values: [MAX_ALLOWED, ORIGINAL, PROTECTED, ENCRYPTED].

forceAction

Boolean

Required
Not null

shouldAggregateMessage

Boolean

Default value: TRUE

A Set of folder paths

shouldInitiateConversionToPdf

Boolean

Default value: TRUE

Initiates conversion to pdf of protected txt and images files in case they are not converted to pdf

Json Format
{
shouldAggregateMessage: Boolean,
shouldInitiateConversionToPdf: Boolean,
downloadType: DownloadTypes,
documentFilter: ApiDocumentFilter,
documentGuids: Set(String),
forceAction: Boolean
}