package xyz.netfly.mobile.plugin;

import android.os.Handler;
import android.os.Looper;
import java.util.List;
import xyz.stream.api.database.o;
import xyz.stream.api.entity.MobileBaseEntity;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class b implements o, xyz.netfly.ads.g, w8.d {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ e f35047a;

    public /* synthetic */ b(e eVar) {
        this.f35047a = eVar;
    }

    @Override // xyz.netfly.ads.g
    public final void b() {
        e eVar = this.f35047a;
        if (((ed.j) eVar.f35061f.f36098a) != null) {
            new Handler(Looper.getMainLooper()).post(new a(eVar, 1));
        }
    }

    @Override // xyz.stream.api.database.o
    public final void d(List list) {
        e eVar = this.f35047a;
        eVar.getClass();
        eVar.f("getAllRecord", MobileBaseEntity.successList(list));
    }

    @Override // w8.d
    public final void onComplete(w8.h hVar) {
        e eVar = this.f35047a;
        eVar.getClass();
        if (hVar.j()) {
            eVar.f("getFirebaseToken", MobileBaseEntity.successResult((String) hVar.g()));
        }
    }
}
