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

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

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

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

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

    private CmdPcRemote() {
        super(null);
    }

    public static CmdPcRemote obtain(SDKPcRemoteType sDKPcRemoteType) {
        CmdPcRemote cmdPcRemote = (CmdPcRemote) f3422r.a();
        if (cmdPcRemote == null) {
            cmdPcRemote = new CmdPcRemote();
        }
        cmdPcRemote.f3423g = sDKPcRemoteType;
        return cmdPcRemote;
    }

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

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

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

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

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