2018-12-13 10:35:50 +01:00
|
|
|
package com.topjohnwu.core.utils;
|
2018-06-09 18:43:01 +02:00
|
|
|
|
|
|
|
public interface ISafetyNetHelper {
|
|
|
|
|
2018-08-22 05:50:21 +02:00
|
|
|
int RESPONSE_ERR = 0x01;
|
|
|
|
int CONNECTION_FAIL = 0x02;
|
2018-06-09 18:43:01 +02:00
|
|
|
|
|
|
|
int BASIC_PASS = 0x10;
|
|
|
|
int CTS_PASS = 0x20;
|
|
|
|
|
|
|
|
void attest();
|
2018-07-30 14:42:42 +02:00
|
|
|
|
2018-06-09 18:43:01 +02:00
|
|
|
int getVersion();
|
|
|
|
|
|
|
|
interface Callback {
|
|
|
|
void onResponse(int responseCode);
|
|
|
|
}
|
|
|
|
}
|