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
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | MEDIA_CORRUPTED | Integer | ![]() |
Indicates an error has occurred: the media appears to be invalid or corrupted |
|||
public | MEDIA_INACCESSIBLE | Integer | ![]() |
Indicates an error has occurred: although the media may exist, it is not accessible |
|||
public | MEDIA_UNAVAILABLE | Integer | ![]() |
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 |
|||
public | MEDIA_UNSPECIFIED | Integer | ![]() |
Indicates that the media has not been specified |
|||
public | MEDIA_UNSUPPORTED | Integer | ![]() |
Indicates that this media type is not supported by this platform |
|||
public | OPERATION_UNSUPPORTED | Integer | ![]() |
Indicates that an operation performed on the media is not supported by this platform |
|||
public | UNKNOWN | Integer | ![]() |
Indicates an error has occurred for an unknown reason |
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public-read | cause | Integer | ![]() |
What caused this error. |
|||
public-read | message | String | ![]() |
A textual explanation of why this error occurred. |
Inherited Variables
Function Summary
- public toString() : java.lang.String