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

import com.seewo.sdk.internal.command.CmdBase;
import com.seewo.sdk.util.pool.SDKPool;
import com.seewo.sdk.util.pool.SDKPoolObject;
import com.seewo.sdk.util.pool.SDKPools;

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

    private CmdSystemInfo() {
        super(null);
    }

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

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

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

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

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

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