Kotlin API
Dependencies
The Kotlin SDK depends on the following libraries.
Since these libraries are handled by Gradle, you don’t have to install them manually. Refer to build.gradle.kts in each project for details.
Language mapping
As for mapping messages into Kotlin classes, see the reference.
The generated classes of G-SDK will be in the following directories.
Desktop
- stub/build/generated/source/proto/main/grpckt/com/supremainc/sdk
- stub/build/generated/source/proto/main/java/com/supremainc/sdk
Android
- stub-android/build/generated/source/proto/debug/grpckt/com/supremainc/sdk
- stub-android/build/generated/source/proto/debug/java/com/supremainc/sdk
Resources
In addition to the G-SDK API and tutorials, you can also refer to the following documentation.