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

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

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

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

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

    private CmdSystem() {
        super(null);
    }

    public static CmdSystem obtain(SDKSystemType sDKSystemType) {
        CmdSystem cmdSystem = (CmdSystem) f3447r.a();
        if (cmdSystem == null) {
            cmdSystem = new CmdSystem();
        }
        cmdSystem.f3448g = sDKSystemType;
        return cmdSystem;
    }

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

    public SDKSystemType getType() {
        return this.f3448g;
    }

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

    public void setType(SDKSystemType sDKSystemType) {
        this.f3448g = sDKSystemType;
    }

    public static CmdSystem obtain(SDKSystemType sDKSystemType, Object obj) {
        CmdSystem cmdSystemObtain = obtain(sDKSystemType);
        cmdSystemObtain.setData(obj);
        return cmdSystemObtain;
    }
}
