- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
25 lines
882 B
Java
25 lines
882 B
Java
package com.glu.plugins.gluanalytics;
|
|
|
|
import com.ea.nimble.ApplicationEnvironment;
|
|
import com.glu.plugins.gluanalytics.util.ISerializableJsonObject;
|
|
import com.glu.plugins.gluanalytics.util.JsonUtil;
|
|
import org.json.JSONException;
|
|
import org.json.JSONStringer;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class GeoLocation implements ISerializableJsonObject {
|
|
public String countryCode;
|
|
public String ipAddress;
|
|
|
|
public GeoLocation(String str, String str2) {
|
|
this.ipAddress = str;
|
|
this.countryCode = str2;
|
|
}
|
|
|
|
@Override // com.glu.plugins.gluanalytics.util.ISerializableJsonObject
|
|
public void write(JSONStringer jSONStringer) throws JSONException {
|
|
JsonUtil.optKeyValue(jSONStringer, "ipAddress", this.ipAddress);
|
|
JsonUtil.optKeyValue(jSONStringer, ApplicationEnvironment.NIMBLE_PARAMETER_COUNTRY_CODE, this.countryCode);
|
|
}
|
|
}
|