SettingsPreferenceServiceClient.SetPreferenceValue 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.
Set the value on the target settings preference.
[Android.Runtime.Register("setPreferenceValue", "(Landroid/service/settings/preferences/SetValueRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetSetPreferenceValue_Landroid_service_settings_preferences_SetValueRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=36)]
public virtual void SetPreferenceValue(Android.Service.Settings.Preferences.SetValueRequest request, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("setPreferenceValue", "(Landroid/service/settings/preferences/SetValueRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetSetPreferenceValue_Landroid_service_settings_preferences_SetValueRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=36)>]
abstract member SetPreferenceValue : Android.Service.Settings.Preferences.SetValueRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.SetPreferenceValue : Android.Service.Settings.Preferences.SetValueRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- request
- SetValueRequest
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
Set the value on the target 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.