package com.seewo.sdk.model;

import com.seewo.sdk.internal.model.SDKParsable;
import d.b.a.a.a;

/* JADX INFO: loaded from: classes.dex */
public class SDKMicroPhoneDevice implements SDKParsable {
    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 SDKMicroPhoneDevice() {
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return obj != null && getClass() == obj.getClass() && this.cardId == ((SDKMicroPhoneDevice) 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 sbB = a.B("MicroPhoneDevice{cardId=");
        sbB.append(this.cardId);
        sbB.append(", hasPlayback=");
        sbB.append(this.hasPlayback);
        sbB.append(", hasCapture=");
        sbB.append(this.hasCapture);
        sbB.append(", deviceName='");
        a.R(sbB, this.deviceName, '\'', ", isCurrentMic=");
        sbB.append(this.isCurrentMic);
        sbB.append('}');
        return sbB.toString();
    }

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