OnlineDataServiceAsync

An specialization of {@link com.sap.cloud.mobile.kotlin.odata.DataService} where the {@link com.sap.cloud.mobile.kotlin.odata.OnlineDataServiceAsync#provider OnlineDataServiceAsync.provider} is an {@link com.sap.cloud.mobile.kotlin.odata.OnlineODataProvider}, using the async/await style of asynchronous operations.

Constructors

Link copied to clipboard
constructor(provider: OnlineODataProvider)

Construct an online data service using an online provider.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend fun acquireToken()

If this data service requires a security token, then acquire it now.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.ServiceOptions#requiresToken ServiceOptions.requiresToken}.

Link copied to clipboard
open suspend fun deleteRepeatableRequest(requestID: GuidValue, headers: HttpHeaders, options: RequestOptions)

Ask the server to forget (delete) the repeatable request with the specified requestID.

Link copied to clipboard
open suspend fun deleteRepeatableRequests()
open suspend fun deleteRepeatableRequests(requestIDs: GuidValueList?)
open suspend fun deleteRepeatableRequests(requestIDs: GuidValueList?, headers: HttpHeaders?)
open suspend fun deleteRepeatableRequests(requestIDs: GuidValueList?, headers: HttpHeaders?, options: RequestOptions?)

Ask the server to forget (delete) the repeatable requests with the specified requestIDs.