public static final class BrowserContract.Bookmarks extends Object
Modifier and Type | Field and Description |
---|---|
static String |
_ID
The unique ID for a row.
|
static String |
ACCOUNT_NAME
The name of the account instance to which this row belongs, which when paired with
ACCOUNT_TYPE identifies a specific account. |
static String |
ACCOUNT_TYPE
The type of account to which this row belongs, which when paired with
ACCOUNT_NAME identifies a specific account. |
static int |
BOOKMARK_TYPE_BOOKMARK
Used in
TYPE column and indicats the row is a bookmark. |
static int |
BOOKMARK_TYPE_BOOKMARK_BAR_FOLDER
Used in
TYPE column and indicats the row is the bookmark bar folder. |
static int |
BOOKMARK_TYPE_FOLDER
Used in
TYPE column and indicats the row is a folder. |
static int |
BOOKMARK_TYPE_MOBILE_FOLDER
Used in
TYPE column and indicats the row is other folder, . |
static int |
BOOKMARK_TYPE_OTHER_FOLDER
Used in
TYPE column and indicats the row is other folder and |
static String |
CONTENT_ITEM_TYPE
The MIME type of a
CONTENT_URI of a single bookmark. |
static String |
CONTENT_TYPE
The MIME type of
CONTENT_URI providing a directory of bookmarks. |
static Uri |
CONTENT_URI
The content:// style URI for this table
|
static Uri |
CONTENT_URI_DEFAULT_FOLDER
The content:// style URI for the default folder
|
static String |
DATE_CREATED
The time that this row was created on its originating client (msecs
since the epoch).
|
static String |
DATE_MODIFIED
The time that this row was last modified by a client (msecs since the epoch).
|
static String |
DIRTY
Flag indicating that
VERSION has changed, and this row needs
to be synchronized by its owning account. |
static String |
FAVICON
The favicon of the bookmark, may be NULL.
|
static String |
INSERT_AFTER
The item that the bookmark should be inserted after.
|
static String |
INSERT_AFTER_SOURCE_ID
The source ID for the item that the bookmark should be inserted after.
|
static String |
IS_DELETED
A flag to indicate if an item has been deleted.
|
static String |
IS_FOLDER
Flag indicating if an item is a folder or bookmark.
|
static String |
PARAM_ACCOUNT_NAME
Query parameter used to specify an account name
|
static String |
PARAM_ACCOUNT_TYPE
Query parameter used to specify an account type
|
static String |
PARENT
The ID of the parent folder.
|
static String |
PARENT_SOURCE_ID
The source ID for an item's parent.
|
static String |
POSITION
The position of the bookmark in relation to it's siblings that share the same
PARENT . |
static String |
QUERY_PARAMETER_SHOW_DELETED
Query parameter to use if you want to see deleted bookmarks that are still
around on the device and haven't been synced yet.
|
static String |
SOURCE_ID
String that uniquely identifies this row to its source account.
|
static String |
SYNC1
Generic column for use by sync adapters.
|
static String |
SYNC2
Generic column for use by sync adapters.
|
static String |
SYNC3
Generic column for use by sync adapters.
|
static String |
SYNC4
Generic column for use by sync adapters.
|
static String |
SYNC5
Generic column for use by sync adapters.
|
static String |
THUMBNAIL
A thumbnail of the page,may be NULL.
|
static String |
TITLE
The user visible title.
|
static String |
TOUCH_ICON
The touch icon for the web page, may be NULL.
|
static String |
TYPE
The type of the item.
|
static String |
URL
This column is valid when the row is a URL.
|
static String |
VERSION
Version number that is updated whenever this row or its related data
changes.
|
public static final Uri CONTENT_URI
public static final int BOOKMARK_TYPE_BOOKMARK
TYPE
column and indicats the row is a bookmark.public static final int BOOKMARK_TYPE_FOLDER
TYPE
column and indicats the row is a folder.public static final int BOOKMARK_TYPE_BOOKMARK_BAR_FOLDER
TYPE
column and indicats the row is the bookmark bar folder.public static final int BOOKMARK_TYPE_OTHER_FOLDER
TYPE
column and indicats the row is other folder andpublic static final int BOOKMARK_TYPE_MOBILE_FOLDER
TYPE
column and indicats the row is other folder, .public static final String TYPE
Type: INTEGER
Allowed values are:
BOOKMARK_TYPE_BOOKMARK
BOOKMARK_TYPE_FOLDER
BOOKMARK_TYPE_BOOKMARK_BAR_FOLDER
BOOKMARK_TYPE_OTHER_FOLDER
BOOKMARK_TYPE_MOBILE_FOLDER
The TYPE_BOOKMARK_BAR_FOLDER, TYPE_OTHER_FOLDER and TYPE_MOBILE_FOLDER can not be updated or deleted.
public static final Uri CONTENT_URI_DEFAULT_FOLDER
public static final String PARAM_ACCOUNT_NAME
public static final String PARAM_ACCOUNT_TYPE
public static final String CONTENT_TYPE
CONTENT_URI
providing a directory of bookmarks.public static final String CONTENT_ITEM_TYPE
CONTENT_URI
of a single bookmark.public static final String QUERY_PARAMETER_SHOW_DELETED
IS_DELETED
,
Constant Field Valuespublic static final String IS_FOLDER
Type: INTEGER (boolean)
public static final String PARENT
Type: INTEGER (reference to item in the same table)
public static final String PARENT_SOURCE_ID
PARENT
,
Constant Field Valuespublic static final String POSITION
PARENT
. May be negative.
Type: INTEGER
public static final String INSERT_AFTER
Type: INTEGER
public static final String INSERT_AFTER_SOURCE_ID
Type: INTEGER
INSERT_AFTER
,
Constant Field Valuespublic static final String IS_DELETED
QUERY_PARAMETER_SHOW_DELETED
query paramter
to the URI when performing your query.
Type: INTEGER (non-zero if the item has been deleted, zero if it hasn't)
public static final String _ID
Type: INTEGER (long)
public static final String URL
Type: TEXT (URL)
public static final String TITLE
Type: TEXT
public static final String DATE_CREATED
Type: INTEGER
public static final String FAVICON
BitmapFactory.decodeByteArray(byte[], int, int, android.graphics.BitmapFactory.Options)
.
Type: BLOB (image)
public static final String THUMBNAIL
BitmapFactory.decodeByteArray(byte[], int, int, android.graphics.BitmapFactory.Options)
.
Type: BLOB (image)
public static final String TOUCH_ICON
BitmapFactory.decodeByteArray(byte[], int, int, android.graphics.BitmapFactory.Options)
.
Type: BLOB (image)
public static final String ACCOUNT_NAME
ACCOUNT_TYPE
identifies a specific account.
Type: TEXT
public static final String ACCOUNT_TYPE
ACCOUNT_NAME
identifies a specific account.
Type: TEXT
public static final String SOURCE_ID
Type: TEXT
public static final String VERSION
Type: INTEGER
public static final String DIRTY
VERSION
has changed, and this row needs
to be synchronized by its owning account.
Type: INTEGER (boolean)
public static final String DATE_MODIFIED
Type: INTEGER
public static final String SYNC1
public static final String SYNC2
public static final String SYNC3
public static final String SYNC4
public static final String SYNC5
public static final Uri buildFolderUri(long folderId)
folderId
- the ID of the folder to point to