翰林优商.apk(点击下载) / b.java


package com.xlx.speech.i;

import com.xlx.speech.f.d;
import com.xlx.speech.f.f;
import com.xlx.speech.m0.c0;
import com.xlx.speech.m0.l;
import com.xlx.speech.voicereadsdk.bean.HttpResponse;
import com.xlx.speech.voicereadsdk.bean.req.ReportInfo;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;

public class b {
    public C0410b a;
    public com.xlx.speech.g.b b = ((com.xlx.speech.g.b) f.a.a.a("https://voicelog.xinliangxiang.com", com.xlx.speech.g.b.class));

    public class a implements Callback<HttpResponse> {
        public a(b bVar) {
        }

        public void onFailure(Call<HttpResponse> call, Throwable th) {
        }

        public void onResponse(Call<HttpResponse> call, Response<HttpResponse> response) {
        }
    }

    /* renamed from: com.xlx.speech.i.b$b  reason: collision with other inner class name */
    public static class C0410b {
        public String a;
        public String b;
        public String c;
    }

    public static class c {
        public static final b a = new b();
    }

    public static void a(String str) {
        c.a.a(str, "");
    }

    public static void a(String str, Object obj) {
        c.a.a(str, l.a.toJson(obj));
    }

    public void a(String str, String str2) {
        if (this.a != null) {
            ReportInfo reportInfo = new ReportInfo();
            reportInfo.setTrackId(c0.a().getString("speech_track_id", ""));
            reportInfo.setEventId(str);
            reportInfo.setFromPlatform("1");
            reportInfo.setVersion("4.4.2.0");
            reportInfo.setEventTime(String.valueOf(System.currentTimeMillis() / 1000));
            reportInfo.setPrivateParams(str2);
            reportInfo.setAdId(this.a.a);
            reportInfo.setSloganId(this.a.b);
            reportInfo.setVoiceId(this.a.c);
            this.b.a(d.a(reportInfo)).enqueue(new a(this));
        }
    }
}