- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
52 lines
1.3 KiB
Java
52 lines
1.3 KiB
Java
package com.iab.omid.library.unity3d.adsession;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import com.iab.omid.library.unity3d.adsession.media.VastProperties;
|
|
import com.iab.omid.library.unity3d.utils.g;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class AdEvents {
|
|
private final a adSession;
|
|
|
|
private AdEvents(a aVar) {
|
|
this.adSession = aVar;
|
|
}
|
|
|
|
public static AdEvents createAdEvents(AdSession adSession) {
|
|
a aVar = (a) adSession;
|
|
g.a(adSession, "AdSession is null");
|
|
g.g(aVar);
|
|
g.b(aVar);
|
|
AdEvents adEvents = new AdEvents(aVar);
|
|
aVar.getAdSessionStatePublisher().a(adEvents);
|
|
return adEvents;
|
|
}
|
|
|
|
public void impressionOccurred() {
|
|
g.b(this.adSession);
|
|
g.e(this.adSession);
|
|
if (!this.adSession.f()) {
|
|
try {
|
|
this.adSession.start();
|
|
} catch (Exception unused) {
|
|
}
|
|
}
|
|
if (this.adSession.f()) {
|
|
this.adSession.k();
|
|
}
|
|
}
|
|
|
|
public void loaded() {
|
|
g.a(this.adSession);
|
|
g.e(this.adSession);
|
|
this.adSession.l();
|
|
}
|
|
|
|
public void loaded(@NonNull VastProperties vastProperties) {
|
|
g.a(vastProperties, "VastProperties is null");
|
|
g.a(this.adSession);
|
|
g.e(this.adSession);
|
|
this.adSession.a(vastProperties.a());
|
|
}
|
|
}
|