miniapp / com.rakuten.tech.mobile.miniapp.file / MiniAppFileChooser / onShowFileChooser
onShowFileChooser
abstract fun onShowFileChooser(filePathCallback: ValueCallback<Array<Uri>>?, fileChooserParams: FileChooserParams?, context: Context): Boolean
For choosing the files which has been invoked by WebChromeClient.onShowFileChooser inside the miniapp webview.
Parameters
filePathCallback - a callback to provide the array of file-paths to select.
fileChooserParams - the parameters can be used to customize the options of file chooser.
context - the Activity context can be used to start the intent to choose file.