public class MediaException extends Exception
Exception when processing Media, used in MediaLoadCommandCallback
and MediaCommandCallback
.
For example, if your app think a load request has failed, you should resolve a failed
Task
with MediaException
to indicate an error.
Public Constructor Summary
Public Method Summary
MediaError |
getMediaError()
Returns the
MediaError .
|
Inherited Method Summary
Public Constructors
public MediaException (MediaError mediaError)
Constructs an instance of MediaException
.
Public Methods
public MediaError getMediaError ()
Returns the MediaError
.