Język

SettingsPreferenceValue.Builder.SetStringValue(String) Method

Definition

Sets string value for Preference.

[Android.Runtime.Register("setStringValue", "(Ljava/lang/String;)Landroid/service/settings/preferences/SettingsPreferenceValue$Builder;", "", ApiSince=36)]
public Android.Service.Settings.Preferences.SettingsPreferenceValue.Builder SetStringValue(string? stringValue);
[<Android.Runtime.Register("setStringValue", "(Ljava/lang/String;)Landroid/service/settings/preferences/SettingsPreferenceValue$Builder;", "", ApiSince=36)>]
member this.SetStringValue : string -> Android.Service.Settings.Preferences.SettingsPreferenceValue.Builder

Parameters

stringValue
String

The string value to store, which can be null. The builder's type must be String.

Returns

This builder.

Attributes

Remarks

Sets string value for Preference.

Android reference for android.service.settings.preferences.SettingsPreferenceValue.Builder.setStringValue.

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