public static interface SyncListPaginator.Listener
SyncListPaginator.requestNextPage(com.twilio.sync.SyncListPaginator.Listener) and SyncListPaginator.requestPreviousPage(com.twilio.sync.SyncListPaginator.Listener).| Modifier and Type | Method and Description |
|---|---|
void |
onError(ErrorInfo error)
This callback is invoked when a requestPage operation has encountered a error.
|
void |
onPageLoaded(SyncListPaginator paginator)
This callback is invoked when a requestPage operation has completed successfully.
|
void onPageLoaded(SyncListPaginator paginator)
paginator - A SyncListPaginator containing the requested page.void onError(ErrorInfo error)
error - Error description.