Files
rr3-apk/decompiled/sources/com/unity3d/services/ads/operation/load/LoadOperationState.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

65 lines
2.6 KiB
Java

package com.unity3d.services.ads.operation.load;
import com.unity3d.ads.IUnityAdsLoadListener;
import com.unity3d.ads.UnityAds;
import com.unity3d.ads.UnityAdsLoadOptions;
import com.unity3d.services.ads.operation.OperationState;
import com.unity3d.services.core.configuration.Configuration;
import com.unity3d.services.core.misc.Utilities;
/* loaded from: classes4.dex */
public class LoadOperationState extends OperationState {
public IUnityAdsLoadListener listener;
public UnityAdsLoadOptions loadOptions;
public LoadOperationState(String str, IUnityAdsLoadListener iUnityAdsLoadListener, UnityAdsLoadOptions unityAdsLoadOptions, Configuration configuration) {
super(str, configuration);
this.listener = iUnityAdsLoadListener;
this.loadOptions = unityAdsLoadOptions;
}
public void onUnityAdsFailedToLoad(final UnityAds.UnityAdsLoadError unityAdsLoadError, final String str) {
if (this.listener != null) {
Utilities.wrapCustomerListener(new Runnable() { // from class: com.unity3d.services.ads.operation.load.LoadOperationState$$ExternalSyntheticLambda1
@Override // java.lang.Runnable
public final void run() {
LoadOperationState.this.lambda$onUnityAdsFailedToLoad$0(unityAdsLoadError, str);
}
});
}
}
/* JADX INFO: Access modifiers changed from: private */
public /* synthetic */ void lambda$onUnityAdsFailedToLoad$0(UnityAds.UnityAdsLoadError unityAdsLoadError, String str) {
this.listener.onUnityAdsFailedToLoad(this.placementId, unityAdsLoadError, str);
}
public void onUnityAdsAdLoaded() {
if (this.listener != null) {
Utilities.wrapCustomerListener(new Runnable() { // from class: com.unity3d.services.ads.operation.load.LoadOperationState$$ExternalSyntheticLambda0
@Override // java.lang.Runnable
public final void run() {
LoadOperationState.this.lambda$onUnityAdsAdLoaded$1();
}
});
}
}
/* JADX INFO: Access modifiers changed from: private */
public /* synthetic */ void lambda$onUnityAdsAdLoaded$1() {
this.listener.onUnityAdsAdLoaded(this.placementId);
}
public boolean isBanner() {
return this instanceof LoadBannerOperationState;
}
public boolean isHeaderBidding() {
UnityAdsLoadOptions unityAdsLoadOptions = this.loadOptions;
if (unityAdsLoadOptions == null || unityAdsLoadOptions.getData() == null) {
return false;
}
return this.loadOptions.getData().has("adMarkup");
}
}