AI-generated Key Takeaways
-
MediaException is an exception used when processing Media, particularly in MediaLoadCommandCallback and MediaCommandCallback.
-
It is used to indicate errors, for example, when a load request fails, by resolving a failed Task with MediaException.
-
The MediaException class has a public constructor that takes a MediaError object.
-
The MediaException class has a public method, getMediaError(), which returns the associated MediaError.
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
Inherited Method Summary
Public Constructors
public MediaException ( MediaError mediaError)
Constructs an instance of MediaException
.
Public Methods
public MediaError getMediaError ()
Returns the MediaError
.

