31 lines
961 B
Java
31 lines
961 B
Java
|
package o;
|
||
|
|
||
|
import android.util.JsonReader;
|
||
|
import android.util.JsonToken;
|
||
|
import java.io.IOException;
|
||
|
import java.io.Reader;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class KKK {
|
||
|
public static KKK d(Reader reader) throws IOException {
|
||
|
JsonReader jsonReader = new JsonReader(reader);
|
||
|
try {
|
||
|
jsonReader.beginObject();
|
||
|
while (jsonReader.hasNext()) {
|
||
|
if (jsonReader.nextName().equals("nextRequestWaitMillis")) {
|
||
|
if (jsonReader.peek() == JsonToken.STRING) {
|
||
|
return new MbX(Long.parseLong(jsonReader.nextString()));
|
||
|
}
|
||
|
return new MbX(jsonReader.nextLong());
|
||
|
}
|
||
|
jsonReader.skipValue();
|
||
|
}
|
||
|
throw new IOException("Response is missing nextRequestWaitMillis field.");
|
||
|
} finally {
|
||
|
jsonReader.close();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public abstract long a();
|
||
|
}
|