Skip to main content
Open file picker to select a file from device storage.

Parameters

PropertyTypeRequiredDescription
countNumberNoMaximum files to select
successFunctionNoCallback with file paths
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Success Callback

PropertyTypeDescription
apFilePathsArraySelected file paths

Code Example

my.chooseFileFromDisk({
  count: 1,
  success: (res) => {
    console.log('Selected:', res.apFilePaths);
  }
});