Language

AppSearchResultCode Enum

Definition

public enum AppSearchResultCode
type AppSearchResultCode = 
Inheritance
AppSearchResultCode

Fields

Name Value Description
Ok 0

The call was successful.

Android reference for android.app.appsearch.AppSearchResult.RESULT_OK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

UnknownError 1

An unknown error occurred while processing the call.

Android reference for android.app.appsearch.AppSearchResult.RESULT_UNKNOWN_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InternalError 2

An internal error occurred within AppSearch, which the caller cannot address. This error may be considered similar to IllegalStateException

Android reference for android.app.appsearch.AppSearchResult.RESULT_INTERNAL_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidArgument 3

The caller supplied invalid arguments to the call. This error may be considered similar to IllegalArgumentException.

Android reference for android.app.appsearch.AppSearchResult.RESULT_INVALID_ARGUMENT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

IoError 4

An issue occurred reading or writing to storage. The call might succeed if repeated. This error may be considered similar to IOException.

Android reference for android.app.appsearch.AppSearchResult.RESULT_IO_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

OutOfSpace 5

Storage is out of space, and no more space could be reclaimed.

Android reference for android.app.appsearch.AppSearchResult.RESULT_OUT_OF_SPACE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NotFound 6

An entity the caller requested to interact with does not exist in the system.

Android reference for android.app.appsearch.AppSearchResult.RESULT_NOT_FOUND.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

InvalidSchema 7

The caller supplied a schema which is invalid or incompatible with the previous schema.

Android reference for android.app.appsearch.AppSearchResult.RESULT_INVALID_SCHEMA.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SecurityError 8

The caller requested an operation it does not have privileges for.

Android reference for android.app.appsearch.AppSearchResult.RESULT_SECURITY_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Denied 9

The requested operation is denied for the caller. This error is logged and returned for denylist rejections.

Android reference for android.app.appsearch.AppSearchResult.RESULT_DENIED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RateLimited 10

The caller has hit AppSearch's rate limit and the requested operation has been rejected. The caller is recommended to reschedule tasks with exponential backoff.

Android reference for android.app.appsearch.AppSearchResult.RESULT_RATE_LIMITED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ResultAlreadyExists 12

The operation is invalid because the resource already exists and can't be replaced.

Android reference for android.app.appsearch.AppSearchResult.RESULT_ALREADY_EXISTS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to