package com.tencent.mm.plugin.appbrand.jsapi.live;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.g;
import com.tencent.mm.plugin.appbrand.g.c;
import com.tencent.mm.plugin.appbrand.g.d;
import com.tencent.mm.plugin.appbrand.jsapi.e;
import com.tencent.mm.sdk.platformtools.ab;

class b$5 extends c {
    final /* synthetic */ e hCK;
    final /* synthetic */ AppBrandLivePusherView hLx;
    final /* synthetic */ b hLy;

    b$5(b bVar, AppBrandLivePusherView appBrandLivePusherView, e eVar) {
        this.hLy = bVar;
        this.hLx = appBrandLivePusherView;
        this.hCK = eVar;
    }

    public final void a(d dVar) {
        AppMethodBeat.i(96091);
        AppBrandLivePusherView appBrandLivePusherView = this.hLx;
        ab.i("MicroMsg.AppBrandLivePusherView", "onAppBrandPause pauseType:%s", new Object[]{dVar});
        if (dVar == d.gNn || dVar == d.gNm || dVar == d.gNt) {
            appBrandLivePusherView.hLk.eb(true);
        }
        AppMethodBeat.o(96091);
    }

    public final void onResume() {
        AppMethodBeat.i(96092);
        this.hLx.hLk.aDK();
        AppMethodBeat.o(96092);
    }

    public final void onDestroy() {
        AppMethodBeat.i(96093);
        g.b(this.hCK.getAppId(), this);
        AppMethodBeat.o(96093);
    }
}
