Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public static class AsyncMedia.MediaErrorEvent

  1. Object
  2. ActionEvent
  3. AsyncMedia.MediaErrorEvent
Encapsulates a media error event.

Constructors

public MediaErrorEvent(Media source, AsyncMedia.MediaException error)Creates a new error event with the given exception.

Methods

public AsyncMedia.MediaException getMediaException()Gets the exception associated with this event.

Inherited nested types

Inherited methods

Constructor details

MediaErrorEvent

public MediaErrorEvent(Media source, AsyncMedia.MediaException error)
Creates a new error event with the given exception.

Method details

getMediaException

public AsyncMedia.MediaException getMediaException()
Gets the exception associated with this event.