mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
36 lines
1.2 KiB
Java
36 lines
1.2 KiB
Java
package androidx.media3.exoplayer.analytics;
|
|
|
|
import androidx.media3.common.Timeline;
|
|
import androidx.media3.exoplayer.analytics.AnalyticsListener;
|
|
import androidx.media3.exoplayer.source.MediaSource;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface PlaybackSessionManager {
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface Listener {
|
|
void onAdPlaybackStarted(AnalyticsListener.EventTime eventTime, String str, String str2);
|
|
|
|
void onSessionActive(AnalyticsListener.EventTime eventTime, String str);
|
|
|
|
void onSessionCreated(AnalyticsListener.EventTime eventTime, String str);
|
|
|
|
void onSessionFinished(AnalyticsListener.EventTime eventTime, String str, boolean z);
|
|
}
|
|
|
|
boolean belongsToSession(AnalyticsListener.EventTime eventTime, String str);
|
|
|
|
void finishAllSessions(AnalyticsListener.EventTime eventTime);
|
|
|
|
String getActiveSessionId();
|
|
|
|
String getSessionForMediaPeriodId(Timeline timeline, MediaSource.MediaPeriodId mediaPeriodId);
|
|
|
|
void setListener(Listener listener);
|
|
|
|
void updateSessions(AnalyticsListener.EventTime eventTime);
|
|
|
|
void updateSessionsWithDiscontinuity(AnalyticsListener.EventTime eventTime, int i);
|
|
|
|
void updateSessionsWithTimelineChange(AnalyticsListener.EventTime eventTime);
|
|
}
|