package defpackage;

import android.content.ContentValues;
import android.text.TextUtils;
import androidx.media3.exoplayer.rtsp.SessionDescription;

/* JADX INFO: loaded from: classes.dex */
public class fh7 {
    public ContentValues a;

    public static final class a {
        public ContentValues a;

        public final fh7 a() {
            ContentValues contentValues = this.a;
            contentValues.put(SessionDescription.ATTR_TYPE, "TYPE_PREVIEW");
            if (TextUtils.isEmpty(contentValues.getAsString("display_name"))) {
                throw new IllegalStateException("Need channel name. Use method setDisplayName(String) to set it.");
            }
            if (TextUtils.isEmpty(contentValues.getAsString("app_link_intent_uri"))) {
                throw new IllegalStateException("Need app link intent uri for channel. Use method setAppLinkIntent or setAppLinkIntentUri to set it.");
            }
            fh7 fh7Var = new fh7();
            fh7Var.a = contentValues;
            return fh7Var;
        }
    }

    @m38
    public static class b {
    }

    public final boolean equals(Object obj) {
        if (obj instanceof fh7) {
            return this.a.equals(((fh7) obj).a);
        }
        return false;
    }

    public final int hashCode() {
        return this.a.hashCode();
    }

    public final String toString() {
        return "Channel{" + this.a.toString() + "}";
    }
}
