public static final class BrowserContract.Images extends Object
Stores images for URLs.
The rows in this table can not be updated since there might have multiple URLs mapping onto the same image. If you want to update a URL's image, you need to add the new image in this table, then update the mapping onto the added image.
Every image should be at least associated with one URL, otherwise it will be removed after a while.
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_ITEM_TYPE
The MIME type of a
CONTENT_URI of a single image. |
static String |
CONTENT_TYPE
The MIME type of
CONTENT_URI providing a directory of images. |
static Uri |
CONTENT_URI
The content:// style URI for this table
|
static String |
DATA
The image data.
|
static String |
FAVICON
The favicon of the bookmark, may be NULL.
|
static int |
IMAGE_TYPE_FAVICON
Used in
TYPE column and indicats the row is a favicon. |
static int |
IMAGE_TYPE_PRECOMPOSED_TOUCH_ICON
Used in
TYPE column and indicats the row is a precomposed touch icon. |
static int |
IMAGE_TYPE_TOUCH_ICON
Used in
TYPE column and indicats the row is a touch icon. |
static String |
THUMBNAIL
A thumbnail of the page,may be NULL.
|
static String |
TOUCH_ICON
The touch icon for the web page, may be NULL.
|
static String |
TYPE
The type of item in the table.
|
static String |
URL
The URL the images came from.
|
public static final Uri CONTENT_URI
public static final String CONTENT_TYPE
CONTENT_URI
providing a directory of images.public static final String CONTENT_ITEM_TYPE
CONTENT_URI
of a single image.public static final int IMAGE_TYPE_FAVICON
TYPE
column and indicats the row is a favicon.public static final int IMAGE_TYPE_PRECOMPOSED_TOUCH_ICON
TYPE
column and indicats the row is a precomposed touch icon.public static final int IMAGE_TYPE_TOUCH_ICON
TYPE
column and indicats the row is a touch icon.public static final String TYPE
Type: INTEGER
Allowed values are:
public static final String DATA
Type: BLOB (image)
public static final String URL
Type: TEXT (URL)
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)