v.i("MicroMsg.VoiceTransTextUI", "net upload more"); if (hIb == null) { v.d("MicroMsg.VoiceTransTextUI", "upload more need has upload netScene!"); return; } hIb = new c(hIb); com.tencent.mm.model.ah.tF().a(hIb, 0); com.tencent.mm.model.ah.tF().a(hIb.getType(), this); return; }
v.i("MicroMsg.VoiceTransTextUI", "net upload"); if (hIa == null) { v.d("MicroMsg.VoiceTransTextUI", "request upload must after check!"); return; } if (aHA() == null) { v.d("MicroMsg.VoiceTransTextUI", "can't get FileOperator!"); return; } hIb = new c(aHz(), hIa.hLM, aHA().getFormat(), getFileName()); com.tencent.mm.model.ah.tF().a(hIb, 0); com.tencent.mm.model.ah.tF().a(hIb.getType(), this); return; case 3:
private void aHy() { v.d("MicroMsg.VoiceTransTextUI", "cancel all net"); if (hIa != null) { com.tencent.mm.model.ah.tF().c(hIa); com.tencent.mm.model.ah.tF().b(hIa.getType(), this); } if (hIb != null) { com.tencent.mm.model.ah.tF().c(hIb); com.tencent.mm.model.ah.tF().b(hIb.getType(), this); } if (hIc != null) { com.tencent.mm.model.ah.tF().c(hIc); com.tencent.mm.model.ah.tF().b(hIc.getType(), this); } }
public void onSceneEnd(final int paramInt1, int paramInt2, String paramString, com.tencent.mm.t.j paramj) { paramString = null; Object localObject = null; if ((paramInt1 == 0) && (paramInt2 == 0)) { switch (paramj.getType()) { } do { do { return; if (hIa.mState == a.hLK) { v.i("MicroMsg.VoiceTransTextUI", "check result: done"); paramString = (String)localObject; if (hIa.aHv()) { paramString = hIa.hLL.kou; } xC(paramString); return; } if (hIa.mState == a.hLJ) { if ((hIa.hLL != null) && (be.kf(hIa.hLL.kou))) { af(b.hMw, hIa.hLL.kou); } v.i("MicroMsg.VoiceTransTextUI", "check result: processing"); nJ(a.hMt); return; } if (hIa.mState == a.hLI) { v.i("MicroMsg.VoiceTransTextUI", "check result: not exist"); nJ(a.hMr); return; } } while (hIa.hLN == null); hLV = hIa.hLN.kec; return; if (hIb.aHx()) { v.i("MicroMsg.VoiceTransTextUI", "succeed upload"); nJ(a.hMt); return; } v.d("MicroMsg.VoiceTransTextUI", "start upload more: start:%d, len:%d", new Object[] { Integer.valueOf(hIb.hLM.jwj), Integer.valueOf(hIb.hLM.jwk) }); nJ(a.hMs); return; hLV = hIc.hLP; hIf = false; if ((!hIc.isComplete()) && (hIc.aHv())) { paramj = hIc.hLL.kou; af(b.hMw, paramj); v.d("MicroMsg.VoiceTransTextUI", "result valid:%s", new Object[] { hIc.hLL.kou }); } while (hIc.isComplete()) { v.i("MicroMsg.VoiceTransTextUI", "succeed get"); if (hIc.aHv()) { paramString = hIc.hLL.kou; } xC(paramString); return; if (!hIc.aHv()) { v.d("MicroMsg.VoiceTransTextUI", "result not valid"); } } if (hLW) { v.i("MicroMsg.VoiceTransTextUI", "do get now! --- Notify new result"); nJ(a.hMt); return; } v.i("MicroMsg.VoiceTransTextUI", "do get again after:%ds", new Object[] { Integer.valueOf(hLV) }); paramInt1 = hLV; } while (hIg); if (hIh == null) { hIh = new com.tencent.mm.sdk.platformtools.ah(new ah.a() { public final boolean jK() { if (VoiceTransTextUI.m(VoiceTransTextUI.this)) { return false; } v.d("MicroMsg.VoiceTransTextUI", "timmer get, delay:%d", new Object[] { Integer.valueOf(paramInt1) }); VoiceTransTextUI.c(VoiceTransTextUI.this, VoiceTransTextUI.a.hMt); return false; } }, false); } hIh.dJ(paramInt1 * 1000); return; } hIg = true; af(b.hMx, null); }