The wrapper is written as minimal as possible without sacrificing ease of use. Its goal is to provide just an accessible Java API to Valve’s C++ interfaces.
The public Java interfaces are - more or less - 1:1 mapped to their native counterparts, as long as it doesn’t impede usability and type safety. In general, each public function does simple Java to C++ type conversion only, then calls its native function.
Callbacks are dealt with in a similar manner. Native callbacks are received by package private callback adapters, which only do type conversion, then forward the callback to their public Java interface.
Note: with v1.7.0 of steamworks4j, the following requirements have been updated.
The prebuilt native libraries of steamworks4j are currently compiled with Steamworks SDK v1.42.
The Java code compiles with Java language level 7.
OS X 10.6 and later are supported.
Linux 64-bit is supported. Support for 32-bit versions has been dropped in steamworks4j v1.7.0.
Both 32-bit and 64-bit versions are supported.
The steamworks4j project is released under the MIT license. The steamworks4j packages do not contain any source/header files owned by Valve. The only files included from the Steamworks SDK are the redistributable steam_api runtime libraries to accompany the prebuilt native libraries.