Settings.System.PutInt(ContentResolver, String, Int32) 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.
Convenience function for updating a single settings value as an integer.
[Android.Runtime.Register("putInt", "(Landroid/content/ContentResolver;Ljava/lang/String;I)Z", "")]
public static bool PutInt (Android.Content.ContentResolver? cr, string? name, int value);
[<Android.Runtime.Register("putInt", "(Landroid/content/ContentResolver;Ljava/lang/String;I)Z", "")>]
static member PutInt : Android.Content.ContentResolver * string * int -> bool
Parameters
The ContentResolver to access.
- name
- String
The name of the setting to modify.
- value
- Int32
The new value for the setting.
Returns
- Attributes
Remarks
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.