app / com.otago.open / PDFViewFragment / TempService / startService

startService

fun startService(url: String, parentFolder: String, fileName: String, inFragment: PDFViewFragment, pdfView: PDFView): Unit

Starts the file download

Parameters

url - The URL from which to download the file

parentFolder - The folder to download the file into

fileName - The name for the downloaded file

inFragment - The instance of PDFViewFragment, to call in class functions

pdfView - The PDFView