audioDir

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

Returns the path to the user's audio directory.

Platform-specific

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

  • macOS: Resolves to $HOME/Music.

  • Windows: Resolves to {FOLDERID_Music}.

Since

1.0.0