mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
31 lines
1.1 KiB
Kotlin
31 lines
1.1 KiB
Kotlin
|
|
package com.geeksville.meshutil
|
||
|
|
|
||
|
|
import android.app.Service
|
||
|
|
import android.content.Intent
|
||
|
|
import android.os.IBinder
|
||
|
|
|
||
|
|
class MeshService : Service() {
|
||
|
|
|
||
|
|
override fun onBind(intent: Intent): IBinder {
|
||
|
|
// Return the interface
|
||
|
|
return binder
|
||
|
|
}
|
||
|
|
|
||
|
|
private val binder = object : IMeshService.Stub() {
|
||
|
|
override fun setOwner(myId: String?, longName: String?, shortName: String?) {
|
||
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||
|
|
}
|
||
|
|
|
||
|
|
override fun sendOpaque(destId: String?, payload: ByteArray?) {
|
||
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||
|
|
}
|
||
|
|
|
||
|
|
override fun getOnline(ids: Array<out String>?) {
|
||
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||
|
|
}
|
||
|
|
|
||
|
|
override fun isConnected(): Boolean {
|
||
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|