SettingsPreferenceMetadata.Builder.SetWritable(Boolean) 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.
Sets whether the preference is writable.
[Android.Runtime.Register("setWritable", "(Z)Landroid/service/settings/preferences/SettingsPreferenceMetadata$Builder;", "", ApiSince=36)]
public Android.Service.Settings.Preferences.SettingsPreferenceMetadata.Builder SetWritable(bool writable);
[<Android.Runtime.Register("setWritable", "(Z)Landroid/service/settings/preferences/SettingsPreferenceMetadata$Builder;", "", ApiSince=36)>]
member this.SetWritable : bool -> Android.Service.Settings.Preferences.SettingsPreferenceMetadata.Builder
Parameters
- writable
- Boolean
true to mark the preference as writable; otherwise, false. This metadata does not grant write permissions.
Returns
This builder.
- Attributes
Remarks
Sets whether the preference is writable.
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.