RemoteMediaPlayer.MediaChannelResult

  • This interface is deprecated and users should migrate to the Cast SDK v3.

  • The interface represents the result of a media command.

  • It includes a method to get custom data received from the receiver application when a command fails.

  • It inherits a method to get the status of the command.

public static interface RemoteMediaPlayer.MediaChannelResult implements Result

This interface is deprecated.
See Migrate Android Sender App from Cast SDK v2 to v3.

Result of a media command.

Public Method Summary

abstract JSONObject
getCustomData()
Custom data received from the receiver application, when a media command fails.

Inherited Method Summary

Public Methods

public abstract JSONObject getCustomData ()

Custom data received from the receiver application, when a media command fails. If no custom data was received, this method returns null.