SettingsPreferenceMetadata.Builder.SetWritePermissions 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 the permissions required for writing this preference.
[Android.Runtime.Register("setWritePermissions", "(Ljava/util/List;)Landroid/service/settings/preferences/SettingsPreferenceMetadata$Builder;", "", ApiSince=36)]
public Android.Service.Settings.Preferences.SettingsPreferenceMetadata.Builder SetWritePermissions(System.Collections.Generic.IList<string> writePermissions);
[<Android.Runtime.Register("setWritePermissions", "(Ljava/util/List;)Landroid/service/settings/preferences/SettingsPreferenceMetadata$Builder;", "", ApiSince=36)>]
member this.SetWritePermissions : System.Collections.Generic.IList<string> -> Android.Service.Settings.Preferences.SettingsPreferenceMetadata.Builder
Parameters
The permissions required to write the preference's value. The list can be empty. This method records the list; it does not grant permissions.
Returns
This builder.
- Attributes
Remarks
Sets the permissions required for writing this 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.