RequestData Stay organized with collections Save and categorize content based on your preferences.
Page Summary
RequestData is a data structure used for media command requests.
MediaLoadRequestData is a known indirect subclass of RequestData used for specifying how a receiver should load media.
RequestData has a public method
getCustomData()which returns custom data as a JSONObject.
public interfaceRequestData
Known Indirect Subclasses
| ||||
Data structure for media command requests.
Public Method Summary
| abstractJSONObject | getCustomData() Returns the custom data. |
Public Methods
public abstractJSONObjectgetCustomData()
Returns the custom data.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],["`RequestData` is an interface for media command requests, with `MediaLoadRequestData` as a subclass for load commands. Its primary function, `getCustomData()`, is an abstract method that returns custom data in JSON format. This interface provides a structure for specifying how a receiver application should handle media loading and allows for the inclusion of application-specific data.\n"]]