Files
duooomi-android-sdk/sdk/src/main/kotlin/com/duooomi/ble/models/UnbindResponse.kt
km2023 d655b13416 feat: implement Android BLE SDK with demo app
Complete Android port of duooomi-ios-sdk with 1:1 API parity.
Includes SDK library module and Jetpack Compose demo app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:09:22 +08:00

16 lines
311 B
Kotlin

package com.duooomi.ble.models
import org.json.JSONObject
data class UnbindResponse(
val success: Int
) {
companion object {
fun fromJson(json: JSONObject): UnbindResponse {
return UnbindResponse(
success = json.optInt("success", 0)
)
}
}
}