RequestData

  • RequestData is an interface used to structure data for media command requests to Cast receivers.

  • It includes a method, getCustomData(), which returns an optional JSONObject containing application-specific data for the request.

  • MediaLoadRequestData is a known subclass used to specify how a receiver application should load media.

public interface RequestData
Known Indirect Subclasses

Data structure for media command requests.

Public Method Summary

abstract JSONObject
getCustomData()
Returns the custom data.

Public Methods

public abstract JSONObject getCustomData ()

Returns the custom data.