package com.seewo.sdk.model;

import com.seewo.sdk.internal.model.SDKParsable;

/* JADX INFO: loaded from: classes.dex */
public class SDKMicroPhoneDevice implements SDKParsable {
    public static final int SYSTEM_BUILD_IN_MIC_ID = 15;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private int f2831b;

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

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

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    private String f2834h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    private boolean f2835i;

    public SDKMicroPhoneDevice() {
    }

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

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

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

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

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

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

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

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

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

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

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

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

    public String toString() {
        return "MicroPhoneDevice{cardId=" + this.f2831b + ", hasPlayback=" + this.f2832f + ", hasCapture=" + this.f2833g + ", deviceName='" + this.f2834h + "', isCurrentMic=" + this.f2835i + '}';
    }

    public SDKMicroPhoneDevice(int i2, boolean z, boolean z2, String str) {
        this.f2831b = i2;
        this.f2832f = z;
        this.f2833g = z2;
        this.f2834h = str;
    }
}
