How to get Application.PersistentDataPath inside a Java Android Plugin

In Java, I’m able to get a list of the files located in Unity’s Application.PersistentDataPath using

AssetManager assetManager = UnityPlayer.currentActivity.getAssets();
String[] files = assetManager.list("");

But I have no idea how to get the actual path of Application.PersistentDataPath. Getting this path in C# is easy, but I need to know what the path is from inside the Java library.

Thank you for any help!

Figured it out.

UnityPlayer.currentActivity.getExternalFilesDir("").getAbsolutePath()