JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

expand all

Profile: desktop, common

Overview

A MediaError describes an error condition in a Media, MediaPlayer or MediaView

See Also:
MediaPlayer.onError, Media.onError, MediaView.onError

Profile: common

Script Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicMEDIA_CORRUPTEDInteger

Indicates an error has occurred: the media appears to be invalid or corrupted

publicMEDIA_INACCESSIBLEInteger

Indicates an error has occurred: although the media may exist, it is not accessible

publicMEDIA_UNAVAILABLEInteger

Indicates an error has occurred: the media does not exist or is otherwise unavailable.

Indicates an error has occurred: the media does not exist or is otherwise unavailable. This error may be the result of security settings preventing access when running in a browser.

Profile: common

 
publicMEDIA_UNSPECIFIEDInteger

Indicates that the media has not been specified

publicMEDIA_UNSUPPORTEDInteger

Indicates that this media type is not supported by this platform

publicOPERATION_UNSUPPORTEDInteger

Indicates that an operation performed on the media is not supported by this platform

publicUNKNOWNInteger

Indicates an error has occurred for an unknown reason

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-readcauseInteger

What caused this error.

public-readmessageString

A textual explanation of why this error occurred.

Inherited Variables

Function Summary

public toString() : java.lang.String
Returns
String
 

Inherited Functions