Android.Provider.Browser.TruncateHistory Method
If there are more than MAX_HISTORY_COUNT non-bookmark history items in the bookmark/history table, delete TRUNCATE_N_OLDEST of them.

Syntax

[Android.Runtime.Register("truncateHistory", "(Landroid/content/ContentResolver;)V", "")]
public static void TruncateHistory (Android.Content.ContentResolver cr)

Parameters

cr
The ContentResolver used to access the database.

Remarks

If there are more than MAX_HISTORY_COUNT non-bookmark history items in the bookmark/history table, delete TRUNCATE_N_OLDEST of them. This is used to keep our history table to a reasonable size. Note: it does not prune bookmarks. If the user wants 1000 bookmarks, the user gets 1000 bookmarks. Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#READ_HISTORY_BOOKMARKS Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#WRITE_HISTORY_BOOKMARKS

[Android Documentation]

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1