mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 05:37:43 +00:00
Do not make unnecessary stuff public in NetworkPacket
This commit is contained in:
parent
8268358b5a
commit
45dfbae63f
@ -14,10 +14,10 @@ import java.io.InputStream
|
|||||||
import java.net.Socket
|
import java.net.Socket
|
||||||
import kotlin.concurrent.Volatile
|
import kotlin.concurrent.Volatile
|
||||||
|
|
||||||
data class NetworkPacket(
|
class NetworkPacket private constructor(
|
||||||
val id: Long,
|
val id: Long,
|
||||||
val type: String,
|
val type: String,
|
||||||
val mBody: JSONObject,
|
private val mBody: JSONObject,
|
||||||
var payload: Payload?,
|
var payload: Payload?,
|
||||||
var payloadTransferInfo: JSONObject,
|
var payloadTransferInfo: JSONObject,
|
||||||
) {
|
) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user