Google is committed to advancing racial equity for Black communities. See how.

FetchItemsRequestData

public class FetchItemsRequestData extends Object
implements Parcelable RequestData

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.

public void writeToParcel (Parcel out, int flags)