public interface

ExternalDirCallback

com.neomades.io.file.ExternalDirCallback

Class Overview

Callback for requestExternalDir(ExternalDirCallback) request.

Summary

Public Methods
abstract void onExternalDirResult(ExternalDirResult result)
Called when the primary shared/external storage directory is found.

Public Methods

public abstract void onExternalDirResult (ExternalDirResult result)

Called when the primary shared/external storage directory is found. Use ExternalDirResult to retrieve the associated File.

When requesting for the external storage, an authorization will be asked to the user. The user may refuse and in this case the external directory cannot be accessed. Check isAuthorizedByUser() to know if the user accepts to open the access to the external storage.

Cross-Platform Limitations

Available only on Android

Parameters
result the request result