MarkerPaginationIterator
public class MarkerPaginationIterator<ItemType> : PaginationIterator<ItemType> where ItemType : BoxModel
Implements pagination using marker. Learn more about marker based pagination here
-
Marker value as a parameter
Declaration
Swift
public private(set) var nextMarker: String? -
Maximum number of items for a page.
Declaration
Swift
public private(set) var limit: Int -
Gets next collection of items based on marker values
Declaration
Swift
public override func nextItems(completion: @escaping Callback<[ItemType]>)Parameters
completionReturns either collection of items or an error.
MarkerPaginationIterator Class Reference