Files
rr3-apk/decompiled/sources/com/google/android/exoplayer2/metadata/icy/IcyInfo.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

62 lines
1.9 KiB
Java

package com.google.android.exoplayer2.metadata.icy;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Assertions;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class IcyInfo implements Metadata.Entry {
public static final Parcelable.Creator<IcyInfo> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.icy.IcyInfo.1
@Override // android.os.Parcelable.Creator
public IcyInfo createFromParcel(Parcel parcel) {
return new IcyInfo(parcel);
}
@Override // android.os.Parcelable.Creator
public IcyInfo[] newArray(int i) {
return new IcyInfo[i];
}
};
public final byte[] rawMetadata;
public final String title;
public final String url;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public IcyInfo(Parcel parcel) {
this.rawMetadata = (byte[]) Assertions.checkNotNull(parcel.createByteArray());
this.title = parcel.readString();
this.url = parcel.readString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || IcyInfo.class != obj.getClass()) {
return false;
}
return Arrays.equals(this.rawMetadata, ((IcyInfo) obj).rawMetadata);
}
public int hashCode() {
return Arrays.hashCode(this.rawMetadata);
}
public String toString() {
return String.format("ICY: title=\"%s\", url=\"%s\", rawMetadata.length=\"%s\"", this.title, this.url, Integer.valueOf(this.rawMetadata.length));
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeByteArray(this.rawMetadata);
parcel.writeString(this.title);
parcel.writeString(this.url);
}
}