Magisk/app/src/main/java/com/topjohnwu/magisk/ui/safetynet/SafetyNetHelper.kt

15 lines
273 B
Kotlin
Raw Normal View History

package com.topjohnwu.magisk.ui.safetynet
2019-08-08 09:59:23 +02:00
import android.content.Context
2019-08-08 09:59:23 +02:00
interface SafetyNetHelper {
val version: Int
fun attest(context: Context, nonce: ByteArray, callback: Callback)
2019-08-08 09:59:23 +02:00
interface Callback {
fun onResponse(response: String?)
2019-08-08 09:59:23 +02:00
}
}