RemoveBlobResponse


@ExperimentalAppSearchApi
public final 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 methods

@NonNull AppSearchBatchResult<AppSearchBlobHandleVoid>

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

void
writeToParcel(@NonNull Parcel dest, int flags)

To be implemented by child classes.

Constants

CREATOR

Added in 1.1.0-alpha07
public static final @NonNull Parcelable.Creator<RemoveBlobResponseCREATOR

Public constructors

RemoveBlobResponse

Added in 1.1.0-alpha07
public RemoveBlobResponse(
    @NonNull AppSearchBatchResult<AppSearchBlobHandleVoid> result
)

Creates a RemoveBlobResponse with given AppSearchBatchResult.

Public methods

getResult

Added in 1.1.0-alpha07
public @NonNull AppSearchBatchResult<AppSearchBlobHandleVoidgetResult()

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

Returns
@NonNull AppSearchBatchResult<AppSearchBlobHandleVoid>

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
public void writeToParcel(@NonNull Parcel dest, int flags)

To be implemented by child classes.

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