importContent

fun importContent(fileName: String, data: ByteArray, subdirectory: String = ""): JsfxImportResult

importJsfxContent(): copies a single file or unpacks an archive into the user content directory, optionally under subdirectory. A rescan is needed afterwards.