- 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
39 lines
931 B
Java
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;
|
|
}
|
|
}
|
|
}
|