Interface VideoPlayerEvents.OnErrorListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
MediaSessionHelper
Enclosing interface:
VideoPlayerEvents

public static interface VideoPlayerEvents.OnErrorListener extends EventListener
Event listener for onError.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(ErrorEvent errorEvent)
    Fired when a media error has occurred, causing the player to stop playback and go into IDLE mode.
  • Method Details

    • onError

      void onError(ErrorEvent errorEvent)
      Fired when a media error has occurred, causing the player to stop playback and go into IDLE mode.
      Parameters:
      errorEvent - The payload that accompanies the onError() event.