package com.seewo.vcommons.model;

import a.b.c.a.a;

/* JADX INFO: loaded from: classes.dex */
public class MicroPhoneDevice {
    public static final int SYSTEM_BUILD_IN_MIC_ID = 15;
    private int cardId;
    private String deviceName;
    private boolean hasCapture;
    private boolean hasPlayback;
    private boolean isCurrentMic;

    public MicroPhoneDevice(int i2, boolean z, boolean z2, String str) {
        this.cardId = i2;
        this.hasPlayback = z;
        this.hasCapture = z2;
        this.deviceName = str;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return obj != null && getClass() == obj.getClass() && this.cardId == ((MicroPhoneDevice) obj).cardId;
    }

    public int getCardId() {
        return this.cardId;
    }

    public String getDeviceName() {
        return this.deviceName;
    }

    public int hashCode() {
        return this.cardId;
    }

    public boolean isCurrentMic() {
        return this.isCurrentMic;
    }

    public boolean isHasCapture() {
        return this.hasCapture;
    }

    public boolean isHasPlayback() {
        return this.hasPlayback;
    }

    public void setCardId(int i2) {
        this.cardId = i2;
    }

    public void setCurrentMic(boolean z) {
        this.isCurrentMic = z;
    }

    public void setDeviceName(String str) {
        this.deviceName = str;
    }

    public void setHasCapture(boolean z) {
        this.hasCapture = z;
    }

    public void setHasPlayback(boolean z) {
        this.hasPlayback = z;
    }

    public String toString() {
        StringBuilder sbC = a.C("MicroPhoneDevice{cardId=");
        sbC.append(this.cardId);
        sbC.append(", hasPlayback=");
        sbC.append(this.hasPlayback);
        sbC.append(", hasCapture=");
        sbC.append(this.hasCapture);
        sbC.append(", deviceName='");
        a.j0(sbC, this.deviceName, '\'', ", isCurrentMic=");
        return a.w(sbC, this.isCurrentMic, '}');
    }
}
