# RemoveBlobResponse

Artifact: [androidx.appsearch:appsearch](https://developer.android.com/jetpack/androidx/releases/appsearch) [View Source](https://cs.android.com/search?q=file:androidx/appsearch/app/RemoveBlobResponse.java+class:androidx.appsearch.app.RemoveBlobResponse) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appsearch#1.1.0)

*** ** * ** ***


```
class RemoveBlobResponse
```

<br />

*** ** * ** ***

Results of `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchSession#removeBlobAsync(java.util.Set<androidx.appsearch.app.AppSearchBlobHandle>)`, 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

| ### Constants |
|---|---|
| `const https://developer.android.com/reference/android/os/Parcelable.Creator.html<https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse!>` | `https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse#CREATOR()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse#RemoveBlobResponse(androidx.appsearch.app.AppSearchBatchResult<androidx.appsearch.app.AppSearchBlobHandle,java.lang.Void>)( result: https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult<https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBlobHandle!, https://developer.android.com/reference/java/lang/Void.html!> )` Creates a `https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse` with given `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult`. |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult<https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBlobHandle!, https://developer.android.com/reference/java/lang/Void.html!>` | `https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse#getResult()()` Returns the `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult` object containing the results of the removal operation for each `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBlobHandle`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse#writeToParcel(android.os.Parcel,int)(dest: https://developer.android.com/reference/android/os/Parcel.html, flags: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` To be implemented by child classes. |

## Constants

### CREATOR

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appsearch#1.1.0)

```
const val CREATOR: Parcelable.Creator<RemoveBlobResponse!>
```

## Public constructors

### RemoveBlobResponse

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appsearch#1.1.0)

```
RemoveBlobResponse(
    result: AppSearchBatchResult<AppSearchBlobHandle!, Void!>
)
```

Creates a `https://developer.android.com/reference/kotlin/androidx/appsearch/app/RemoveBlobResponse` with given `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult`.

## Public functions

### getResult

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appsearch#1.1.0)

```
fun getResult(): AppSearchBatchResult<AppSearchBlobHandle!, Void!>
```

Returns the `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult` object containing the results of the removal operation for each `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBlobHandle`.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult<https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBlobHandle!, https://developer.android.com/reference/java/lang/Void.html!>` | A `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBatchResult` maps `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchBlobHandle`s 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 `https://developer.android.com/reference/kotlin/androidx/appsearch/app/AppSearchResult` with details of the failure. |

### writeToParcel

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/appsearch#1.1.0)

```
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.