Interface IMediaError
interface IMediaError
Extends com.amazon.apmf.IStandard
All media elements have an associated error status,
which records the last error the element encountered since its
resource selection algorithm was last invoked. The error attribute,
on getting, must return the MediaError object created for this last
error, or null if there has not been an error.
For further details see
https://html.spec.whatwg.org/multipage/media.html#mediaerror
Methods
getCode()
MediaErrorCode getCode()
Returns the current error’s error code.
For further details see
https://html.spec.whatwg.org/multipage/media.html#dom-mediaerror-code
Returns
MediaErrorCode
MediaErrorCode The error code enumeration.
getMessage()
string getMessage()
Returns a specific informative diagnostic message about the error
For further details see
https://html.spec.whatwg.org/multipage/media.html#dom-mediaerror-message
Returns
string
The error message

