Partager via


Browser.ClearHistory(ContentResolver) Method

Definition

Delete all entries from the bookmarks/history table which are not bookmarks.

[Android.Runtime.Register("clearHistory", "(Landroid/content/ContentResolver;)V", "")]
public static void ClearHistory (Android.Content.ContentResolver? cr);
[<Android.Runtime.Register("clearHistory", "(Landroid/content/ContentResolver;)V", "")>]
static member ClearHistory : Android.Content.ContentResolver -> unit

Parameters

cr
ContentResolver

The ContentResolver used to access the database.

Attributes

Remarks

Delete all entries from the bookmarks/history table which are not bookmarks. Also set all visited bookmarks to unvisited.

Java documentation for android.provider.Browser.clearHistory(android.content.ContentResolver).

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.

Applies to