getQueuedRequests

abstract fun getQueuedRequests(query: DataQuery?, headers: HttpHeaders?, options: RequestOptions?): PendingRequestList

Return a list of the queued pending requests in the local database (matching the query, if specified). This includes requests that have never been sent to the backend system, as well as requests that were previously sent but which failed.

Return

a list of the queued pending requests in the local database (matching the query, if specified).

List of queued requests.

Parameters

query

(nullable) If specified, then {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#entitySet DataQuery.entitySet} and {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#queryFilter DataQuery.queryFilter} will be used for request filtering and {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#sortItems DataQuery.sortItems} will be used for result ordering. If not specified (or null), all queued requests will be returned.

headers

(nullable) If specified, then the returned pending requests will be further filtered to include only those with matching headers.

options

(nullable) If specified, then the returned pending requests will be further filtered to include only those with matching options ({@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#changeSet RequestOptions.changeSet}, {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#customTag RequestOptions.customTag}, {@link com.sap.cloud.mobile.kotlin.odata.RequestOptions#uploadGroup RequestOptions.uploadGroup}).