API reference

CowatchViewerArray Class

Represents a paginated list of com.meta.horizon.platform.ovr.models.CowatchViewer elements. It allows you to easily access and manipulate the elements in the paginated list, such as the size of the list and if there is a next page of elements available.

Constructors

CowatchViewerArray ( ptr )
Signature
com.meta.horizon.platform.ovr.models.CowatchViewerArray.CowatchViewerArray(final long ptr)
Parameters
ptr: final long

Methods

getElements ()
Access the indexed element in this list. Note that the index is zero-based, so the first element has an index of 0.
Signature
List<CowatchViewer> com.meta.horizon.platform.ovr.models.CowatchViewerArray.getElements()
Returns
List< CowatchViewer > CowatchViewer
getNextPage ()
Retrieves the next page of CowatchViewerArray. If there is no next page, this field will be empty.
Signature
Request<CowatchViewerArray> com.meta.horizon.platform.ovr.models.CowatchViewerArray.getNextPage()
Returns
Request< CowatchViewerArray >
getNextUrl ()
The URL to request the next paginated list of elements.
Signature
String com.meta.horizon.platform.ovr.models.CowatchViewerArray.getNextUrl()
Returns
String  String
getSize ()
The number of elements contained within this list. This is not equal to the total number of elements across multiple pages.
Signature
long com.meta.horizon.platform.ovr.models.CowatchViewerArray.getSize()
Returns
long  long
hasNextPage ()
Indicates whether there is a next page of elements that can be retrieved. If this value is true, you can use the next_url field to request the next page of elements.
Signature
boolean com.meta.horizon.platform.ovr.models.CowatchViewerArray.hasNextPage()
Returns
boolean  boolean