package com.seewo.sdk.internal.command.systeminfo;

import R0.a;
import R0.b;
import R0.c;
import com.seewo.sdk.internal.command.CmdBase;

/* JADX INFO: loaded from: classes.dex */
public class CmdSystemInfo extends CmdBase implements b {

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    private static a f3456r = c.a();

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private SDKSystemInfoType f3457g;

    private CmdSystemInfo() {
        super(null);
    }

    public static CmdSystemInfo obtain(SDKSystemInfoType sDKSystemInfoType) {
        CmdSystemInfo cmdSystemInfo = (CmdSystemInfo) f3456r.a();
        if (cmdSystemInfo == null) {
            cmdSystemInfo = new CmdSystemInfo();
        }
        cmdSystemInfo.f3457g = sDKSystemInfoType;
        return cmdSystemInfo;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, R0.b
    public void clear() {
        super.clear();
        this.f3457g = null;
    }

    public SDKSystemInfoType getType() {
        return this.f3457g;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, R0.b
    public void recycle() {
        f3456r.b(this);
    }

    public void setType(SDKSystemInfoType sDKSystemInfoType) {
        this.f3457g = sDKSystemInfoType;
    }

    public static CmdSystemInfo obtain(SDKSystemInfoType sDKSystemInfoType, Object obj) {
        CmdSystemInfo cmdSystemInfoObtain = obtain(sDKSystemInfoType);
        cmdSystemInfoObtain.setData(obj);
        return cmdSystemInfoObtain;
    }
}
