package com.google.android.gms.internal.ads;

import android.content.Context;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import java.util.concurrent.atomic.AtomicLong;

/* JADX INFO: loaded from: classes2.dex */
public final class i10 extends y7.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final s00 f12318a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Context f12319b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final h10 f12320c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final long f12321d = System.currentTimeMillis();

    @Nullable
    private g7.j zze;

    @Nullable
    private x7.a zzf;

    @Nullable
    private g7.n zzg;

    public i10(Context context, String str) {
        new AtomicLong();
        this.f12319b = context.getApplicationContext();
        n7.u uVar = n7.x.f31085g.f31087b;
        uv uvVar = new uv();
        uVar.getClass();
        this.f12318a = (s00) new n7.b(uVar, context, str, uvVar).a(context, false);
        this.f12320c = new h10();
    }

    public final void b(n7.u2 u2Var, vs0 vs0Var) {
        try {
            s00 s00Var = this.f12318a;
            if (s00Var != null) {
                u2Var.f31062n = this.f12321d;
                s00Var.x2(n7.e4.a(this.f12319b, u2Var), new e10(vs0Var, this, 1));
            }
        } catch (RemoteException e10) {
            q7.j.zzl("#007 Could not call remote method.", e10);
        }
    }

    @Override // y7.a
    @Nullable
    public final g7.j getFullScreenContentCallback() {
        return this.zze;
    }

    @Override // y7.a
    @Nullable
    public final x7.a getOnAdMetadataChangedListener() {
        return this.zzf;
    }

    @Override // y7.a
    @Nullable
    public final g7.n getOnPaidEventListener() {
        return null;
    }

    @Override // y7.a
    public final void setFullScreenContentCallback(@Nullable g7.j jVar) {
        this.zze = jVar;
        this.f12320c.zzb(jVar);
    }

    @Override // y7.a
    public final void setOnAdMetadataChangedListener(@Nullable x7.a aVar) {
        this.zzf = aVar;
        try {
            s00 s00Var = this.f12318a;
            if (s00Var != null) {
                s00Var.Q(new n7.n3(aVar));
            }
        } catch (RemoteException e10) {
            q7.j.zzl("#007 Could not call remote method.", e10);
        }
    }

    @Override // y7.a
    public final void setOnPaidEventListener(@Nullable g7.n nVar) {
        try {
            s00 s00Var = this.f12318a;
            if (s00Var != null) {
                s00Var.Q1(new n7.o3(nVar));
            }
        } catch (RemoteException e10) {
            q7.j.zzl("#007 Could not call remote method.", e10);
        }
    }
}
