Class CefriumFileChooserParams
java.lang.Object
com.cefrium.CefriumFileChooserParams
What a file input asks for, as
CefriumChromeClient.onShowFileChooser(CefriumBrowser, CefriumFileChooserParams, CefriumFileChooserCallback)
sees it. Like WebChromeClient.FileChooserParams.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat the page wants chosen. -
Method Summary
Modifier and TypeMethodDescriptionandroid.content.IntentAn intent for the system picker that fits these parameters, as the SDK's own off-screen chooser uses.The input'sacceptlist: MIME types (image/*) and extensions (.pdf).getMode()getTitle()A title the page suggests; usually empty.static String[]parseResult(int resultCode, android.content.Intent data) The URIs a picker started withcreateIntent()returned, forCefriumFileChooserCallback.select(String[]); empty when cancelled.
-
Method Details
-
getMode
-
getTitle
A title the page suggests; usually empty. -
getAcceptTypes
-
createIntent
public android.content.Intent createIntent()An intent for the system picker that fits these parameters, as the SDK's own off-screen chooser uses. Start it and pass the result toparseResult(int, Intent). -
parseResult
The URIs a picker started withcreateIntent()returned, forCefriumFileChooserCallback.select(String[]); empty when cancelled.
-