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

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

/* JADX INFO: loaded from: classes.dex */
public class CmdSystemInfo extends CmdBase implements b {
    private static a<CmdSystemInfo> sPool = c.a();
    private SDKSystemInfoType mType;

    private CmdSystemInfo() {
        super(null);
    }

    public static CmdSystemInfo obtain(SDKSystemInfoType sDKSystemInfoType) {
        CmdSystemInfo cmdSystemInfoA = sPool.a();
        if (cmdSystemInfoA == null) {
            cmdSystemInfoA = new CmdSystemInfo();
        }
        cmdSystemInfoA.mType = sDKSystemInfoType;
        return cmdSystemInfoA;
    }

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

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

    @Override // com.seewo.sdk.internal.command.CmdBase
    public void recycle() {
        sPool.recycle(this);
    }

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

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