UserOperationResultCode 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.
Defines user operation result code values used by the Android OS API.
public enum UserOperationResultCode
type UserOperationResultCode =
- Inheritance
-
UserOperationResultCode
Fields
| Name | Value | Description |
|---|---|---|
| Success | 0 | Indicates user operation is successful. |
| ErrorUnknown | 1 | Indicates user operation failed for unknown reason. |
| ErrorManagedProfile | 2 | Indicates user operation failed because target user is a managed profile. |
| ErrorMaxRunningUsers | 3 | Indicates user operation failed because maximum running user limit has been reached. |
| ErrorCurrentUser | 4 | Indicates user operation failed because the target user is in the foreground. |
| ErrorLowStorage | 5 | Indicates user operation failed because device has low data storage. |
| ErrorMaxUsers | 6 | Indicates user operation failed because a relevant maximum user limit has been reached. This could include the situation in which limit is 0, such as if a particular type of user is not enabled or is ineligible to be added to the requested parent. |
Remarks
Provides Android OS API values for UserOperationResultCode.
Java documentation for android.os.UserManager.
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.