Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23
以下内容为反编译后的 EventMessage.java 源代码,内容仅作参考
package com.yandex.mobile.ads.exo.metadata.emsg;
import android.os.Parcel;
import android.os.Parcelable;
import com.ironsource.mediationsdk.logger.IronSourceError;
import com.yandex.mobile.ads.exo.metadata.Metadata;
import com.yandex.mobile.ads.impl.da1;
import com.yandex.mobile.ads.impl.ec0;
import com.yandex.mobile.ads.impl.v60;
import com.yandex.mobile.ads.impl.yv;
import java.util.Arrays;
public final class EventMessage implements Metadata.Entry {
public final String f8635a;
public final String b;
public final long c;
public final long d;
public final byte[] e;
private int f;
private static final yv g = new yv.a().f("application/id3").a();
private static final yv h = new yv.a().f("application/x-scte35").a();
public static final Parcelable.Creator<EventMessage> CREATOR = new a();
final class a implements Parcelable.Creator<EventMessage> {
a() {
}
@Override
public final EventMessage createFromParcel(Parcel parcel) {
return new EventMessage(parcel);
}
@Override
public final EventMessage[] newArray(int i) {
return new EventMessage[i];
}
}
public EventMessage(String str, String str2, long j, long j2, byte[] bArr) {
this.f8635a = str;
this.b = str2;
this.c = j;
this.d = j2;
this.e = bArr;
}
@Override
public final yv a() {
char c;
String str = this.f8635a;
str.getClass();
int hashCode = str.hashCode();
if (hashCode == -1468477611) {
if (str.equals(com.google.android.exoplayer2.metadata.emsg.EventMessage.SCTE35_SCHEME_ID)) {
c = 0;
}
c = 65535;
} else if (hashCode != -795945609) {
if (hashCode == 1303648457 && str.equals("https://developer.apple.com/streaming/emsg-id3")) {
c = 2;
}
c = 65535;
} else {
if (str.equals(com.google.android.exoplayer2.metadata.emsg.EventMessage.ID3_SCHEME_ID_AOM)) {
c = 1;
}
c = 65535;
}
if (c == 0) {
return h;
}
if (c == 1 || c == 2) {
return g;
}
return null;
}
@Override
public void a(ec0.a aVar) {
Metadata.Entry.CC.$default$a(this, aVar);
}
@Override
public final byte[] b() {
if (a() != null) {
return this.e;
}
return null;
}
@Override
public final int describeContents() {
return 0;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || EventMessage.class != obj.getClass()) {
return false;
}
EventMessage eventMessage = (EventMessage) obj;
return this.c == eventMessage.c && this.d == eventMessage.d && da1.a(this.f8635a, eventMessage.f8635a) && da1.a(this.b, eventMessage.b) && Arrays.equals(this.e, eventMessage.e);
}
public final int hashCode() {
if (this.f == 0) {
String str = this.f8635a;
int hashCode = ((str != null ? str.hashCode() : 0) + IronSourceError.ERROR_NON_EXISTENT_INSTANCE) * 31;
String str2 = this.b;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
long j = this.c;
int i = (hashCode2 + ((int) (j ^ (j >>> 32)))) * 31;
long j2 = this.d;
this.f = Arrays.hashCode(this.e) + ((i + ((int) (j2 ^ (j2 >>> 32)))) * 31);
}
return this.f;
}
public final String toString() {
StringBuilder a2 = v60.a("EMSG: scheme=");
a2.append(this.f8635a);
a2.append(", id=");
a2.append(this.d);
a2.append(", durationMs=");
a2.append(this.c);
a2.append(", value=");
a2.append(this.b);
return a2.toString();
}
@Override
public final void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.f8635a);
parcel.writeString(this.b);
parcel.writeLong(this.c);
parcel.writeLong(this.d);
parcel.writeByteArray(this.e);
}
EventMessage(Parcel parcel) {
this.f8635a = (String) da1.a(parcel.readString());
this.b = (String) da1.a(parcel.readString());
this.c = parcel.readLong();
this.d = parcel.readLong();
this.e = (byte[]) da1.a(parcel.createByteArray());
}
}