Kotlin openvr binding using jni

I am trying to do a Kotlin binding of the openvr header file

I ported almost all the file, but now I got stuck on the list of calls here, they all are inside struct’s… how shall I port them?

Googling around, I found this kotlin-jni example

One thing he did was to declare a class and put the library loading into the init (here)… shall I do the same?