Google is committed to advancing racial equity for Black communities. See how.


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

Returns the MediaError.

Inherited Method Summary

Public Constructors

public MediaException (MediaError mediaError)

Public Methods

public MediaError getMediaError ()

Returns the MediaError.