Page Summary
-
FetchItemsRequestData is a request data structure for fetching more items relative to a media item.
-
It includes methods to get custom data, the ID of the relative item, and the count of items to fetch before or after the relative item.
-
It implements the Parcelable and RequestData interfaces.
Request data structure for fetching more items relative to a media item.
Inherited Constant Summary
Public Method Summary
| JSONObject |
getCustomData()
Returns the custom data.
|
| int |
getItemId()
Returns the ID of the item relative to which the other items should be fetched.
|
| Integer |
getNextCount()
Returns the maximum number of item IDs to fetch after the given item.
|
| Integer |
getPrevCount()
Returns the maximum number of item IDs to fetch before the given item.
|
| void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Public Methods
public JSONObject getCustomData ()
Returns the custom data.
public int getItemId ()
Returns the ID of the item relative to which the other items should be fetched.
public Integer getNextCount ()
Returns the maximum number of item IDs to fetch after the given item.
This may be null if the request doesn't specify the next count.
public Integer getPrevCount ()
Returns the maximum number of item IDs to fetch before the given item.
This may be null if the request doesn't specify the previous count.