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;
    private int b;

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

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

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

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

    public SDKMicroPhoneDevice() {
    }

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

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

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

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

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

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

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

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

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

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

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

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

    public String toString() {
        return "MicroPhoneDevice{cardId=" + this.b + ", hasPlayback=" + this.f382e + ", hasCapture=" + this.f383f + ", deviceName='" + this.f384g + "', isCurrentMic=" + this.f385h + '}';
    }

    public SDKMicroPhoneDevice(int i2, boolean z, boolean z2, String str) {
        this.b = i2;
        this.f382e = z;
        this.f383f = z2;
        this.f384g = str;
    }
}
