正在查看: Handling Master v2 应用的 u40.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Handling Master v2 应用的 u40.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.yandex.mobile.ads.impl;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.Nullable;
import com.yandex.mobile.ads.impl.az0;
import com.yandex.mobile.ads.impl.ev0;
import com.yandex.mobile.ads.impl.fb0;
import java.util.Arrays;
public final class u40 implements az0.b {
public final String b;
public final String c;
public final long d;
public final long e;
public final byte[] f;
private int g;
private static final fb0 h = new fb0.a().e("application/id3").a();
private static final fb0 i = new fb0.a().e("application/x-scte35").a();
public static final Parcelable.Creator<u40> CREATOR = new a();
public class a implements Parcelable.Creator<u40> {
@Override
public final u40 createFromParcel(Parcel parcel) {
return new u40(parcel);
}
@Override
public final u40[] newArray(int i) {
return new u40[i];
}
}
public u40(Parcel parcel) {
this.b = (String) v62.a(parcel.readString());
this.c = (String) v62.a(parcel.readString());
this.d = parcel.readLong();
this.e = parcel.readLong();
this.f = (byte[]) v62.a(parcel.createByteArray());
}
@Nullable
public final fb0 a() {
String str = this.b;
str.getClass();
switch (str) {
case "urn:scte:scte35:2014:bin":
return i;
case "https://aomedia.org/emsg/ID3":
case "https://developer.apple.com/streaming/emsg-id3":
return h;
default:
return null;
}
}
public void a(ev0.a aVar) {
IL1IliL1l.I11lllll1ILI1(this, aVar);
}
@Nullable
public final byte[] b() {
if (a() != null) {
return this.f;
}
return null;
}
public final int describeContents() {
return 0;
}
public final boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (obj == null || u40.class != obj.getClass()) {
return false;
}
u40 u40Var = (u40) obj;
return this.d == u40Var.d && this.e == u40Var.e && v62.a(this.b, u40Var.b) && v62.a(this.c, u40Var.c) && Arrays.equals(this.f, u40Var.f);
}
public final int hashCode() {
if (this.g == 0) {
String str = this.b;
int hashCode = ((str != null ? str.hashCode() : 0) + 527) * 31;
String str2 = this.c;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
long j = this.d;
int i2 = (hashCode2 + ((int) (j ^ (j >>> 32)))) * 31;
long j2 = this.e;
this.g = Arrays.hashCode(this.f) + ((i2 + ((int) (j2 ^ (j2 >>> 32)))) * 31);
}
return this.g;
}
public final String toString() {
return "EMSG: scheme=" + this.b + ", id=" + this.e + ", durationMs=" + this.d + ", value=" + this.c;
}
public final void writeToParcel(Parcel parcel, int i2) {
parcel.writeString(this.b);
parcel.writeString(this.c);
parcel.writeLong(this.d);
parcel.writeLong(this.e);
parcel.writeByteArray(this.f);
}
public u40(String str, String str2, long j, long j2, byte[] bArr) {
this.b = str;
this.c = str2;
this.d = j;
this.e = j2;
this.f = bArr;
}
}