videoDir

external fun videoDir(): Promise<String>(source)

Returns the path to the user's video directory.

Platform-specific

  • Linux: Resolves to xdg-user-dirs' XDG_VIDEOS_DIR.

  • macOS: Resolves to $HOME/Movies.

  • Windows: Resolves to {FOLDERID_Videos}.

  • Android: Resolves to the app-specific Movies directory (getExternalFilesDir(DIRECTORY_MOVIES)), typically .../files/Movies. It is private to your app and removed when the app is uninstalled.

  • iOS: Resolves inside the app sandbox.

Since

1.0.0