RemoveBlobResponse


@ExperimentalAppSearchApi
class RemoveBlobResponse


Results of removeBlobAsync, containing the outcome of the removal of each handles.

This class is used to retrieve the result of a batch removal operation on a collection of blob handles.

Summary

Public constructors

Creates a RemoveBlobResponse with given AppSearchBatchResult.

Public functions

AppSearchBatchResult<AppSearchBlobHandle!, Void!>

Returns the AppSearchBatchResult object containing the results of the removal operation for each AppSearchBlobHandle.

Unit
writeToParcel(dest: Parcel, flags: Int)

To be implemented by child classes.

Constants

CREATOR

Added in 1.1.0-alpha07
const val CREATORParcelable.Creator<RemoveBlobResponse!>

Public constructors

RemoveBlobResponse

Added in 1.1.0-alpha07
RemoveBlobResponse(
    result: AppSearchBatchResult<AppSearchBlobHandle!, Void!>
)

Creates a RemoveBlobResponse with given AppSearchBatchResult.

Public functions

getResult

Added in 1.1.0-alpha07
fun getResult(): AppSearchBatchResult<AppSearchBlobHandle!, Void!>

Returns the AppSearchBatchResult object containing the results of the removal operation for each AppSearchBlobHandle.

Returns
AppSearchBatchResult<AppSearchBlobHandle!, Void!>

A AppSearchBatchResult maps AppSearchBlobHandles which is a unique identifier for a specific blob being removed to the outcome of that commit. If the operation was successful, the result for that handle is null; if there was an error, the result contains an AppSearchResult with details of the failure.

writeToParcel

Added in 1.1.0-alpha07
fun writeToParcel(dest: Parcel, flags: Int): Unit

To be implemented by child classes.

This is purely for code sync purpose. Have writeToParcel here so we can keep "@Override" in child classes.