Class MediaErrorEvent


public class MediaErrorEvent extends ClientEvent
This event is called whenever a media source fails to load or play for the web client
  • Constructor Details

    • MediaErrorEvent

      public MediaErrorEvent(Client client, String mediaSource, MediaError mediaError)
      This event resembles an internal error in the web client (like bad or failed HTTP media requests).
      Parameters:
      client - the client that this event is about
  • Method Details

    • getMediaSource

      public String getMediaSource()
      Get the media source that failed
      Returns:
      the media source
    • getMediaError

      public MediaError getMediaError()
      Get the media error
      Returns:
      the media error