package androidx.core.app;

import android.app.Notification;
import android.app.NotificationChannel;
import android.media.AudioAttributes;
import android.net.Uri;
import android.os.Build;
import android.provider.Settings;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes.dex */
public final class d0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final CharSequence f1533a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final String f1534b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f1535c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Uri f1536d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final AudioAttributes f1537e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final long[] f1538f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final String f1539g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final String f1540h;

    public d0(NotificationChannel notificationChannel) {
        String strO = a0.o(notificationChannel);
        a0.r(notificationChannel);
        this.f1536d = Settings.System.DEFAULT_NOTIFICATION_URI;
        this.f1537e = Notification.AUDIO_ATTRIBUTES_DEFAULT;
        this.f1533a = a0.u(notificationChannel);
        this.f1534b = a0.j(notificationChannel);
        this.f1535c = a0.k(notificationChannel);
        a0.b(notificationChannel);
        this.f1536d = a0.D(notificationChannel);
        this.f1537e = a0.e(notificationChannel);
        a0.T(notificationChannel);
        a0.s(notificationChannel);
        a0.U(notificationChannel);
        this.f1538f = a0.F(notificationChannel);
        int i10 = Build.VERSION.SDK_INT;
        if (i10 >= 30) {
            this.f1539g = c0.i(notificationChannel);
            this.f1540h = c0.c(notificationChannel);
        }
        a0.a(notificationChannel);
        a0.t(notificationChannel);
        if (i10 >= 29) {
            b0.a(notificationChannel);
        }
        if (i10 >= 30) {
            c0.k(notificationChannel);
        }
    }

    @Nullable
    public AudioAttributes getAudioAttributes() {
        return this.f1537e;
    }

    @Nullable
    public String getConversationId() {
        return this.f1540h;
    }

    @Nullable
    public String getDescription() {
        return this.f1534b;
    }

    @Nullable
    public String getGroup() {
        return this.f1535c;
    }

    @Nullable
    public CharSequence getName() {
        return this.f1533a;
    }

    @Nullable
    public String getParentChannelId() {
        return this.f1539g;
    }

    @Nullable
    public Uri getSound() {
        return this.f1536d;
    }

    @Nullable
    public long[] getVibrationPattern() {
        return this.f1538f;
    }
}
