SearchRecentSuggestions.TruncateHistory(ContentResolver, 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.
Reduces the length of the history table, to prevent it from growing too large.
[Android.Runtime.Register("truncateHistory", "(Landroid/content/ContentResolver;I)V", "GetTruncateHistory_Landroid_content_ContentResolver_IHandler")]
protected virtual void TruncateHistory (Android.Content.ContentResolver? cr, int maxEntries);
[<Android.Runtime.Register("truncateHistory", "(Landroid/content/ContentResolver;I)V", "GetTruncateHistory_Landroid_content_ContentResolver_IHandler")>]
abstract member TruncateHistory : Android.Content.ContentResolver * int -> unit
override this.TruncateHistory : Android.Content.ContentResolver * int -> unit
Parameters
Convenience copy of the content resolver.
- maxEntries
- Int32
Max entries to leave in the table. 0 means remove all entries.
- Attributes
Remarks
Reduces the length of the history table, to prevent it from growing too large.
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.