Interface AsyncPage<ResourceT>

All Superinterfaces:
Page<ResourceT>
All Known Implementing Classes:
AbstractPage

public interface AsyncPage<ResourceT> extends Page<ResourceT>
An AsyncPage extends a Page object with a getNextPageAsync method.
  • Method Details

    • getNextPageAsync

      ApiFuture<? extends AsyncPage<ResourceT>> getNextPageAsync()
      Returns a future for the Page object, retrieved using the next page token. If there are no more pages, returns a future which will immediately provide null. The hasNextPage() method can be used to check if a Page object is available.