mirror of
https://github.com/Tribufu/TribufuJava
synced 2026-08-18 09:01:08 +00:00
Migrate Library to Kotlin
This commit is contained in:
parent
8a3eb4809e
commit
85ca2b7701
12 changed files with 81 additions and 79 deletions
13
library/src/main/kotlin/com/tribufu/sdk/TribuFu.kt
Normal file
13
library/src/main/kotlin/com/tribufu/sdk/TribuFu.kt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Copyright (c) TribuFu. All Rights Reserved
|
||||
|
||||
package com.tribufu.sdk
|
||||
|
||||
class TribuFu {
|
||||
// Used to load the 'TribuFu' library on application startup.
|
||||
init {
|
||||
System.loadLibrary("TribuFu_Jvm")
|
||||
}
|
||||
|
||||
/** A native method that is implemented by the 'TribuFu' native library. */
|
||||
external fun Hello(input: String ): String
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue