CommitBlobResponse
  public
  
  final
  
  class
  CommitBlobResponse
  
    extends Object
  
  
  
  
  
      implements
      
        Parcelable
      
  
  
| java.lang.Object | |
| ↳ | android.app.appsearch.CommitBlobResponse | 
The response to provide batch operation results of AppSearchSession.commitBlob.
 
This class is used to retrieve the result of a batch commit operation on a collection of blob handles.
Summary
| Inherited constants | 
|---|
| Fields | |
|---|---|
| 
    public
    static
    final
    Creator<CommitBlobResponse> | CREATOR
 | 
| Public constructors | |
|---|---|
| 
      CommitBlobResponse(AppSearchBatchResult<AppSearchBlobHandle, Void> result)
      Creates a  | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        AppSearchBatchResult<AppSearchBlobHandle, Void> | 
      getResult()
      Returns the  | 
| 
        
        
        
        
        
        void | 
      writeToParcel(Parcel dest, int flags)
      Flatten this object in to a Parcel. | 
| Inherited methods | |
|---|---|
Fields
CREATOR
public static final Creator<CommitBlobResponse> CREATOR
Public constructors
CommitBlobResponse
public CommitBlobResponse (AppSearchBatchResult<AppSearchBlobHandle, Void> result)
Creates a CommitBlobResponse with given AppSearchBatchResult.
| Parameters | |
|---|---|
| result | AppSearchBatchResult: This value cannot benull. | 
Public methods
getResult
public AppSearchBatchResult<AppSearchBlobHandle, Void> getResult ()
Returns the AppSearchBatchResult object containing the results of the commit
 operation for each AppSearchBlobHandle.
| Returns | |
|---|---|
| AppSearchBatchResult<AppSearchBlobHandle, Void> | A AppSearchBatchResultmapsAppSearchBlobHandles which is a unique
     identifier for a specific blob being committed to the outcome of that commit. If the
     operation was successful, the result for that handle isnull; if there was an
     error, the result contains anAppSearchResultwith details of the failure. | 
writeToParcel
public void writeToParcel (Parcel dest, int flags)
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
| dest | Parcel: This value cannot benull. | 
| flags | int: Additional flags about how the object should be written.
 May be 0 orParcelable.PARCELABLE_WRITE_RETURN_VALUE.
 Value is either0or a combination ofParcelable.PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES | 
