android-components / mozilla.components.feature.downloads / AbstractFetchDownloadService / openFile

openFile

fun openFile(context: <ERROR CLASS>, filePath: String, contentType: String?): Boolean (source)

Launches an intent to open the given file, returns whether or not the file could be opened