Language

GetValueResultType Enum

Definition

Specifies the result code returned for a preference value request.

public enum GetValueResultType
type GetValueResultType = 
Inheritance
GetValueResultType

Fields

Name Value Description
Ok 0

The request succeeded.

Unsupported 1

The requested preference is not supported by this API. Retrying is not advised.

Unavailable 2

The preference is currently unavailable, likely because of device state or a dependency. Retrying may succeed if conditions change.

RequireAppPermission 3

The calling application lacks permissions required by the requested preference. Retrying may succeed after obtaining them.

Disallow 4

The requested preference is not allowed under the current device policy. Retrying may succeed if conditions change.

InvalidRequest 5

The request object is not valid. Retrying with the current parameters is not advised.

InternalError 6

The API call failed because of a service binding issue. Retrying may succeed.

Remarks

Java documentation for android.service.settings.preferences.GetValueResult.

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