Files
rr3-apk/decompiled/sources/com/unity3d/ads/UnityAdsBaseOptions.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

39 lines
931 B
Java

package com.unity3d.ads;
import com.unity3d.services.core.log.DeviceLog;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class UnityAdsBaseOptions {
private String OBJECT_ID = "objectId";
private JSONObject _data = new JSONObject();
public JSONObject getData() {
return this._data;
}
public void set(String str, String str2) {
if (str == null || str2 == null) {
return;
}
try {
this._data.put(str, str2);
} catch (JSONException e) {
DeviceLog.exception("Failed to set Unity Ads options", e);
}
}
public void setObjectId(String str) {
set(this.OBJECT_ID, str);
}
public String getObjectId() {
try {
return this._data.getString(this.OBJECT_ID);
} catch (JSONException unused) {
return null;
}
}
}