// Copyright © 2018 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Generic;
namespace CefSharp.Callback
{
///
/// Callback interface for IBrowserHost.RunFileDialog.
/// The methods of this class will be called on the CEF UI thread.
///
public interface IRunFileDialogCallback
{
///
/// Called asynchronously after the file dialog is dismissed.
///
/// is the 0-based index of the value selected from the accept filters array passed to IBrowserHost.RunFileDialog
/// will be a single value or a list of values depending on the dialog mode. If the selection was cancelled filePaths will be empty
void OnFileDialogDismissed(int selectedAcceptFilter, IList filePaths);
}
}