Språk

Browser.GetAllBookmarks(ContentResolver) Method

Definition

Returns a cursor with a URL column for bookmarks.

[Android.Runtime.Register("getAllBookmarks", "(Landroid/content/ContentResolver;)Landroid/database/Cursor;", "")]
public static Android.Database.ICursor? GetAllBookmarks(Android.Content.ContentResolver? cr);
[<Android.Runtime.Register("getAllBookmarks", "(Landroid/content/ContentResolver;)Landroid/database/Cursor;", "")>]
static member GetAllBookmarks : Android.Content.ContentResolver -> Android.Database.ICursor

Parameters

cr
ContentResolver

The ContentResolver used to access the database.

Returns

On Android 5.1 and earlier, the result of the browser-provider query. A non-null cursor has a URL column. This API is unsupported on Android 6.0 and later.

Attributes

Exceptions

Remarks

On Android 5.1 and earlier, this method queries the browser provider for bookmarks. The API is unsupported on Android 6.0 and later. In the Android open-source implementation, the retained method returns an empty cursor without querying the provider.

Java documentation for android.provider.Browser.getAllBookmarks(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