AppSearchResultCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum AppSearchResultCode
type AppSearchResultCode =
- Inheritance
-
AppSearchResultCode
Fields
| Name | Value | Description |
|---|---|---|
| Ok | 0 | The call was successful. Android reference for 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 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 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 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 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 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 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 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 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 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 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 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. |