228 lines
5.9 KiB
Java
228 lines
5.9 KiB
Java
|
package c.a.q;
|
||
|
|
||
|
import c.i.a.c.d1;
|
||
|
import c.i.a.c.f1;
|
||
|
import c.i.a.c.g1;
|
||
|
import c.i.a.c.r1;
|
||
|
import c.i.a.c.v0;
|
||
|
import com.google.android.exoplayer2.ExoPlaybackException;
|
||
|
import com.google.android.exoplayer2.source.TrackGroupArray;
|
||
|
import d0.z.d.m;
|
||
|
import java.util.List;
|
||
|
import rx.subjects.PublishSubject;
|
||
|
/* compiled from: RxPlayerEventListener.kt */
|
||
|
public final class k implements g1.a {
|
||
|
public final PublishSubject<c> i = PublishSubject.l0();
|
||
|
public final PublishSubject<a> j = PublishSubject.l0();
|
||
|
public final PublishSubject<b> k = PublishSubject.l0();
|
||
|
|
||
|
/* compiled from: RxPlayerEventListener.kt */
|
||
|
public static final class a {
|
||
|
public final boolean a;
|
||
|
|
||
|
public a(boolean z2) {
|
||
|
this.a = z2;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this != obj) {
|
||
|
return (obj instanceof a) && this.a == ((a) obj).a;
|
||
|
}
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
boolean z2 = this.a;
|
||
|
if (z2) {
|
||
|
return 1;
|
||
|
}
|
||
|
return z2 ? 1 : 0;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
return c.d.b.a.a.G(c.d.b.a.a.L("IsPlayingChange(isPlaying="), this.a, ")");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* compiled from: RxPlayerEventListener.kt */
|
||
|
public static final class b {
|
||
|
public final ExoPlaybackException a;
|
||
|
|
||
|
public b(ExoPlaybackException exoPlaybackException) {
|
||
|
m.checkNotNullParameter(exoPlaybackException, "exoPlaybackException");
|
||
|
this.a = exoPlaybackException;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this != obj) {
|
||
|
return (obj instanceof b) && m.areEqual(this.a, ((b) obj).a);
|
||
|
}
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
ExoPlaybackException exoPlaybackException = this.a;
|
||
|
if (exoPlaybackException != null) {
|
||
|
return exoPlaybackException.hashCode();
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = c.d.b.a.a.L("PlayerError(exoPlaybackException=");
|
||
|
L.append(this.a);
|
||
|
L.append(")");
|
||
|
return L.toString();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* compiled from: RxPlayerEventListener.kt */
|
||
|
public static final class c {
|
||
|
public final boolean a;
|
||
|
public final int b;
|
||
|
|
||
|
public c(boolean z2, int i) {
|
||
|
this.a = z2;
|
||
|
this.b = i;
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof c)) {
|
||
|
return false;
|
||
|
}
|
||
|
c cVar = (c) obj;
|
||
|
return this.a == cVar.a && this.b == cVar.b;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
boolean z2 = this.a;
|
||
|
if (z2) {
|
||
|
z2 = true;
|
||
|
}
|
||
|
int i = z2 ? 1 : 0;
|
||
|
int i2 = z2 ? 1 : 0;
|
||
|
int i3 = z2 ? 1 : 0;
|
||
|
return (i * 31) + this.b;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = c.d.b.a.a.L("PlayerStateChange(playWhenReady=");
|
||
|
L.append(this.a);
|
||
|
L.append(", playbackState=");
|
||
|
return c.d.b.a.a.z(L, this.b, ")");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void C(r1 r1Var, Object obj, int i) {
|
||
|
f1.t(this, r1Var, obj, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void D(int i) {
|
||
|
f1.o(this, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void E(v0 v0Var, int i) {
|
||
|
f1.g(this, v0Var, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void M(boolean z2, int i) {
|
||
|
f1.h(this, z2, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void O(TrackGroupArray trackGroupArray, c.i.a.c.f2.k kVar) {
|
||
|
f1.u(this, trackGroupArray, kVar);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void Q(d1 d1Var) {
|
||
|
f1.i(this, d1Var);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void S(boolean z2) {
|
||
|
f1.b(this, z2);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public void X(boolean z2) {
|
||
|
PublishSubject<a> publishSubject = this.j;
|
||
|
publishSubject.j.onNext(new a(z2));
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void a() {
|
||
|
f1.p(this);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void d(int i) {
|
||
|
f1.k(this, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void e(boolean z2) {
|
||
|
f1.f(this, z2);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void f(int i) {
|
||
|
f1.n(this, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void i(List list) {
|
||
|
f1.r(this, list);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public void k(ExoPlaybackException exoPlaybackException) {
|
||
|
m.checkNotNullParameter(exoPlaybackException, "error");
|
||
|
PublishSubject<b> publishSubject = this.k;
|
||
|
publishSubject.j.onNext(new b(exoPlaybackException));
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void n(boolean z2) {
|
||
|
f1.d(this, z2);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void p(r1 r1Var, int i) {
|
||
|
f1.s(this, r1Var, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void r(int i) {
|
||
|
f1.j(this, i);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void v(boolean z2) {
|
||
|
f1.q(this, z2);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void w(g1 g1Var, g1.b bVar) {
|
||
|
f1.a(this, g1Var, bVar);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public /* synthetic */ void y(boolean z2) {
|
||
|
f1.c(this, z2);
|
||
|
}
|
||
|
|
||
|
@Override // c.i.a.c.g1.a
|
||
|
public void z(boolean z2, int i) {
|
||
|
PublishSubject<c> publishSubject = this.i;
|
||
|
publishSubject.j.onNext(new c(z2, i));
|
||
|
}
|
||
|
}
|