USB devices and Kotlin

Hi guys,

I have just learned about Kotlin today and I have tried to find information about a very important theme for my projects: USB devices.
I can’t find any specific information so here is my question.
Is there a way to have shared code to access an USB device the same way on Android (USB host + permissions) and on JVM.
Have someone heard about demo code / project around this ?

Regards,
Julien