SettingsPreferenceServiceClient.GetPreferenceValue Method
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.
Retrieve the current value of the requested settings preference.
[Android.Runtime.Register("getPreferenceValue", "(Landroid/service/settings/preferences/GetValueRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetGetPreferenceValue_Landroid_service_settings_preferences_GetValueRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=36)]
public virtual void GetPreferenceValue(Android.Service.Settings.Preferences.GetValueRequest request, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("getPreferenceValue", "(Landroid/service/settings/preferences/GetValueRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetGetPreferenceValue_Landroid_service_settings_preferences_GetValueRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=36)>]
abstract member GetPreferenceValue : Android.Service.Settings.Preferences.GetValueRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.GetPreferenceValue : Android.Service.Settings.Preferences.GetValueRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- request
- GetValueRequest
object to specify request parameters
- executor
- IExecutor
Executor
on which to invoke the receiver
- receiver
- IOutcomeReceiver
callback to receive the result or failure
- Attributes
Remarks
Retrieve the current value of the requested settings preference.
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.