miniapp / com.rakuten.tech.mobile.miniapp.file / MiniAppFileChooserDefault
MiniAppFileChooserDefault
class MiniAppFileChooserDefault :
MiniAppFileChooser
The default file chooser of a miniapp.
Parameters
requestCode
- of file choosing using an intent inside sdk, which will also be used
to retrieve the data by Activity.onActivityResult in the HostApp.
Constructors
<init> | The default file chooser of a miniapp.MiniAppFileChooserDefault(requestCode: Int ) |
Properties
requestCode | of file choosing using an intent inside sdk, which will also be used to retrieve the data by Activity.onActivityResult in the HostApp.var requestCode: Int |
Functions
onCancel | Can be used when HostApp wants to cancel the file choosing operation.fun onCancel(): Unit |
onReceivedFiles | Receive the files from the HostApp.fun onReceivedFiles(intent: Intent ): Unit |
onShowFileChooser | For choosing the files which has been invoked by WebChromeClient.onShowFileChooser inside the miniapp webview.fun onShowFileChooser(filePathCallback: ValueCallback < Array < Uri >>?, fileChooserParams: FileChooserParams ?, context: Context ): Boolean |