com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo Java Examples
The following examples show how to use
com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
@Override public void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) { printInternalError(eventTime, "loadError", error); }
Example #2
Source File: EventLogger.java From Telegram with GNU General Public License v2.0 | 5 votes |
@Override public void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) { printInternalError(eventTime, "loadError", error); }
Example #3
Source File: PlaybackStatsListener.java From MediaSDK with Apache License 2.0 | 5 votes |
@Override public void onLoadStarted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { sessionManager.updateSessions(eventTime); for (String session : playbackStatsTrackers.keySet()) { if (sessionManager.belongsToSession(eventTime, session)) { playbackStatsTrackers.get(session).onLoadStarted(eventTime); } } }
Example #4
Source File: PlaybackStatsListener.java From MediaSDK with Apache License 2.0 | 5 votes |
@Override public void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) { sessionManager.updateSessions(eventTime); for (String session : playbackStatsTrackers.keySet()) { if (sessionManager.belongsToSession(eventTime, session)) { playbackStatsTrackers.get(session).onNonFatalError(eventTime, error); } } }
Example #5
Source File: EventLogger.java From MediaSDK with Apache License 2.0 | 5 votes |
@Override public void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) { printInternalError(eventTime, "loadError", error); }
Example #6
Source File: EventLogger.java From Telegram-FOSS with GNU General Public License v2.0 | 5 votes |
@Override public void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) { printInternalError(eventTime, "loadError", error); }
Example #7
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
@Override public void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) { printInternalError(eventTime, "loadError", error); }
Example #8
Source File: EventLogger.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCompleted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #9
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #10
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadStarted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #11
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCompleted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #12
Source File: EventLogger.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadStarted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #13
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCompleted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #14
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #15
Source File: EventLogger.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadStarted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #16
Source File: EventLogger.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #17
Source File: EventLogger.java From Telegram with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadStarted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #18
Source File: EventLogger.java From MediaSDK with Apache License 2.0 | 4 votes |
@Override public void onLoadCompleted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #19
Source File: EventLogger.java From MediaSDK with Apache License 2.0 | 4 votes |
@Override public void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #20
Source File: EventLogger.java From MediaSDK with Apache License 2.0 | 4 votes |
@Override public void onLoadStarted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #21
Source File: EventLogger.java From Telegram with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #22
Source File: EventLogger.java From Telegram with GNU General Public License v2.0 | 4 votes |
@Override public void onLoadCompleted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) { // Do nothing. }
Example #23
Source File: AnalyticsListener.java From TelePlus-Android with GNU General Public License v2.0 | 3 votes |
/** * Called when a media source loading error occurred. These errors are just for informational * purposes and the player may recover. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. * @param error The load error. * @param wasCanceled Whether the load was canceled as a result of the error. */ default void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) {}
Example #24
Source File: AnalyticsListener.java From Telegram with GNU General Public License v2.0 | 3 votes |
/** * Called when a media source loading error occurred. These errors are just for informational * purposes and the player may recover. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. * @param error The load error. * @param wasCanceled Whether the load was canceled as a result of the error. */ default void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) {}
Example #25
Source File: AnalyticsListener.java From Telegram-FOSS with GNU General Public License v2.0 | 3 votes |
/** * Called when a media source loading error occurred. These errors are just for informational * purposes and the player may recover. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. * @param error The load error. * @param wasCanceled Whether the load was canceled as a result of the error. */ default void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) {}
Example #26
Source File: AnalyticsListener.java From MediaSDK with Apache License 2.0 | 3 votes |
/** * Called when a media source loading error occurred. These errors are just for informational * purposes and the player may recover. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. * @param error The load error. * @param wasCanceled Whether the load was canceled as a result of the error. */ default void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) {}
Example #27
Source File: AnalyticsListener.java From TelePlus-Android with GNU General Public License v2.0 | 3 votes |
/** * Called when a media source loading error occurred. These errors are just for informational * purposes and the player may recover. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. * @param error The load error. * @param wasCanceled Whether the load was canceled as a result of the error. */ default void onLoadError( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData, IOException error, boolean wasCanceled) {}
Example #28
Source File: AnalyticsListener.java From TelePlus-Android with GNU General Public License v2.0 | 2 votes |
/** * Called when a media source canceled loading data. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. */ default void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) {}
Example #29
Source File: AnalyticsListener.java From MediaSDK with Apache License 2.0 | 2 votes |
/** * Called when a media source completed loading data. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. */ default void onLoadCompleted( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) {}
Example #30
Source File: AnalyticsListener.java From MediaSDK with Apache License 2.0 | 2 votes |
/** * Called when a media source canceled loading data. * * @param eventTime The event time. * @param loadEventInfo The {@link LoadEventInfo} defining the load event. * @param mediaLoadData The {@link MediaLoadData} defining the data being loaded. */ default void onLoadCanceled( EventTime eventTime, LoadEventInfo loadEventInfo, MediaLoadData mediaLoadData) {}