I managed to create the folder but private, that is, only the same app can see it and what I'm looking for is that it can be viewed from any file browser, internal memory not sd
val directorio = File(filesDir, nombreDirectorio)
if (!directorio.mkdirs()) {
Log.e(TAG, "Error: No se creo el directorio en la memoria interna :(")
}