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

import com.seewo.sdk.internal.command.CmdBase;
import d.e.g.p.f.a;
import d.e.g.p.f.b;
import d.e.g.p.f.c;

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

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private static a<CmdPcRemote> f2717g = c.a();

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private SDKPcRemoteType f2718f;

    private CmdPcRemote() {
        super(null);
    }

    public static CmdPcRemote obtain(SDKPcRemoteType sDKPcRemoteType) {
        CmdPcRemote cmdPcRemoteA = f2717g.a();
        if (cmdPcRemoteA == null) {
            cmdPcRemoteA = new CmdPcRemote();
        }
        cmdPcRemoteA.f2718f = sDKPcRemoteType;
        return cmdPcRemoteA;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, d.e.g.p.f.b
    public void clear() {
        super.clear();
        this.f2718f = null;
    }

    public SDKPcRemoteType getType() {
        return this.f2718f;
    }

    @Override // com.seewo.sdk.internal.command.CmdBase, d.e.g.p.f.b
    public void recycle() {
        f2717g.recycle(this);
    }

    public void setType(SDKPcRemoteType sDKPcRemoteType) {
        this.f2718f = sDKPcRemoteType;
    }

    public static CmdPcRemote obtain(SDKPcRemoteType sDKPcRemoteType, Object obj) {
        CmdPcRemote cmdPcRemoteObtain = obtain(sDKPcRemoteType);
        cmdPcRemoteObtain.setData(obj);
        return cmdPcRemoteObtain;
    }
}
