Interface CefRunFileDialogCallback


  • public interface CefRunFileDialogCallback
    Callback interface for CefBrowserHost::RunFileDialog. The methods of this class will be called on the browser process UI thread.
    • Method Detail

      • onFileDialogDismissed

        void onFileDialogDismissed​(int selectedAcceptFilter,
                                   java.util.Vector<java.lang.String> filePaths)
        Called asynchronously after the file dialog is dismissed. If the selection was successful filePaths will be a single value or a list of values depending on the dialog mode. If the selection was cancelled filePaths will be empty.
        Parameters:
        selectedAcceptFilter - 0-based index of the value selected from the accept filters array passed to CefBrowserHost::RunFileDialog.
        filePaths - list of file paths or empty list.