CommitBlobResponse
@ExperimentalAppSearchApi
public final class CommitBlobResponse
The response to provide batch operation results of commitBlobAsync.
This class is used to retrieve the result of a batch commit operation on a collection of blob handles.
Summary
Constants |
|
|---|---|
static final @NonNull Parcelable.Creator<CommitBlobResponse> |
Public constructors |
|---|
|
Creates a |
Public methods |
|
|---|---|
@NonNull AppSearchBatchResult<AppSearchBlobHandle, Void> |
Returns the |
void |
writeToParcel(@NonNull Parcel dest, int flags)To be implemented by child classes. |
Constants
Public constructors
CommitBlobResponse
public CommitBlobResponse(
@NonNull AppSearchBatchResult<AppSearchBlobHandle, Void> result
)
Creates a CommitBlobResponse with given AppSearchBatchResult.
Public methods
getResult
public @NonNull AppSearchBatchResult<AppSearchBlobHandle, Void> getResult()
Returns the AppSearchBatchResult object containing the results of the commit operation for each AppSearchBlobHandle.
| Returns | |
|---|---|
@NonNull AppSearchBatchResult<AppSearchBlobHandle, Void> |
A |
writeToParcel
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.