NativeFileSO

Keiwando.NFSO.NativeFileSOMacWin

instance method

OpenFiles

public void OpenFiles (SupportedFileType[] supportedTypes, Action<bool, OpenedFile[]> onCompletion) 

Summary

Presents a native dialog to the user which allows them to select multiple files to be opened at once. The selected file contents are then loaded into memory managed by instances of the OpenedFile class.

Parameters

supportedTypes

The file types used to filter the available files shown to the user.

onCompletion

A callback for when the presented dialog has been dismissed. The first parameter of the callback specifies whether a file was opened or the selection was cancelled.

Remarks

See NativeFileSO.OpenFiles(SupportedFileType[], Action<bool, OpenedFile[]>) for more information on the usage of this method.