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

import android.graphics.Rect;
import com.seewo.sdk.interfaces.p;
import com.seewo.sdk.internal.model.SDKParsable;

/* JADX INFO: loaded from: classes.dex */
public class CmdChangeSourceForPIP implements SDKParsable {
    public int isSwitchApp;
    public Rect location;
    public p sourceItem;

    private CmdChangeSourceForPIP() {
    }

    public String toString() {
        return "CmdChangeSourceForPIP{sourceItem=" + this.sourceItem + ", location=" + this.location + ", isSwitchApp=" + this.isSwitchApp + '}';
    }

    public CmdChangeSourceForPIP(p pVar, Rect rect) {
        this();
        this.sourceItem = pVar;
        this.location = rect;
        this.isSwitchApp = 0;
    }

    public CmdChangeSourceForPIP(p pVar, Rect rect, boolean z) {
        this();
        this.sourceItem = pVar;
        this.location = rect;
        this.isSwitchApp = z ? 1 : 2;
    }
}
