AI-generated Key Takeaways
-
RemoteMediaClient.MediaChannelResult represents the result of a media command and implements the Result interface.
-
This interface provides methods to retrieve custom data and media errors received from the receiver application.
-
The
getCustomData()method returns a JSONObject containing custom data, or null if none is received. -
The
getMediaError()method returns a MediaError object if an error occurred, or null otherwise.
The result of a media command.
Public Method Summary
| abstract JSONObject |
getCustomData()
Custom data received from the receiver application.
|
| abstract MediaError |
getMediaError()
The error received from the receiver application.
|
Inherited Method Summary
Public Methods
public abstract JSONObject getCustomData ()
Custom data received from the receiver application. If no custom data was received,
this method returns null.
public abstract MediaError getMediaError ()
The error received from the receiver application. If no error was received, this
method returns null.