miniapp / com.rakuten.tech.mobile.miniapp.navigator / MiniAppDownloadNavigator
MiniAppDownloadNavigator
interface MiniAppDownloadNavigator :
MiniAppNavigator
File download controller for mini app view. This interface can optionally be used with your MiniAppNavigator if you wish to intercept file download requests from the mini app. If you do not use this interface, then default handling will be used for file download requests.
Functions
onFileDownloadStart | Notify the host application that a file should be downloaded.abstract fun onFileDownloadStart(url: String , userAgent: String , contentDisposition: String , mimetype: String , contentLength: Long ): Unit |