public class BrowserContract extends Object
The contract between the browser provider and applications. Contains the definition for the supported URIS and columns.
BrowserContract defines an database of browser-related information which are bookmarks, history, images and the mapping between the image and URL.
Modifier and Type | Class and Description |
---|---|
static class |
BrowserContract.Accounts
Read-only table that lists all the accounts that are used to provide bookmarks.
|
static class |
BrowserContract.Bookmarks
The bookmarks table, which holds the user's browser bookmarks.
|
static class |
BrowserContract.ChromeSyncColumns
Convenience definitions for use in implementing chrome bookmarks sync in the Bookmarks table.
|
static class |
BrowserContract.Combined
A combined view of bookmarks and history.
|
static class |
BrowserContract.History
The history table, which holds the browsing history.
|
static class |
BrowserContract.ImageMappings
A table that stores the mappings between the image and the URL.
|
static class |
BrowserContract.Images
Stores images for URLs.
|
static class |
BrowserContract.Searches
The search history table.
|
static class |
BrowserContract.Settings
A table that stores settings specific to the browser.
|
static class |
BrowserContract.SyncState
A table provided for sync adapters to use for storing private sync state data.
|
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORITY
The authority for the browser provider
|
static Uri |
AUTHORITY_URI
A content:// style uri to the authority for the browser provider
|
static String |
CALLER_IS_SYNCADAPTER
An optional insert, update or delete URI parameter that allows the caller
to specify that it is a sync adapter.
|
static String |
PARAM_LIMIT
A parameter for use when querying any table that allows specifying a limit on the number
of rows returned.
|
Constructor and Description |
---|
BrowserContract() |
public static final String AUTHORITY
public static final Uri AUTHORITY_URI
public static final String CALLER_IS_SYNCADAPTER
ContentResolver.notifyChange(android.net.Uri, android.database.ContentObserver, boolean)
.public static final String PARAM_LIMIT