Added in API level 36
GetValueResult
public
final
class
GetValueResult
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.service.settings.preferences.GetValueResult |
Result object given a corresponding GetValueRequest.
- If the request was successful,
getResultCode()will beRESULT_OK,getValue()will be populated with the settings preference value andgetMetadata()will be populated with its metadata. - If the request is unsuccessful,
getResultCode()be a value other thanRESULT_OK- see documentation for those possibilities to understand the cause of the failure.
Summary
Nested classes | |
|---|---|
class |
GetValueResult.Builder
Builder to construct |