- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
31 lines
856 B
Java
31 lines
856 B
Java
package csdk.gluads;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import csdk.gluads.util.ISerializableJsonObject;
|
|
import csdk.gluads.util.JsonUtil;
|
|
import java.util.Map;
|
|
import org.json.JSONException;
|
|
import org.json.JSONStringer;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class CustomAction implements ISerializableJsonObject {
|
|
|
|
@NonNull
|
|
public final String action;
|
|
|
|
@Nullable
|
|
public final Map<String, Object> extra;
|
|
|
|
public CustomAction(String str, Map<String, Object> map) {
|
|
this.action = str;
|
|
this.extra = map;
|
|
}
|
|
|
|
@Override // csdk.gluads.util.ISerializableJsonObject
|
|
public void write(JSONStringer jSONStringer) throws JSONException {
|
|
JsonUtil.optKeyValue(jSONStringer, "action", this.action);
|
|
JsonUtil.optKeyValue(jSONStringer, "extra", this.extra);
|
|
}
|
|
}
|