java.lang.Object | |
↳ | android.provider.MediaStore.Images.Thumbnails |
This class allows developers to query and get two kinds of thumbnails: MINI_KIND: 512 x 384 thumbnail MICRO_KIND: 96 x 96 thumbnail
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DATA | The data stream for the thumbnail
Type: DATA STREAM |
|||||||||
String | DEFAULT_SORT_ORDER | The default sort order for this table | |||||||||
int | FULL_SCREEN_KIND | ||||||||||
String | HEIGHT | The height of the thumbnail
Type: INTEGER (long) |
|||||||||
String | IMAGE_ID | The original image for the thumbnal
Type: INTEGER (ID from Images table) |
|||||||||
String | KIND | The kind of the thumbnail
Type: INTEGER (One of the values below) |
|||||||||
int | MICRO_KIND | ||||||||||
int | MINI_KIND | ||||||||||
String | THUMB_DATA | The blob raw data of thumbnail
Type: DATA STREAM |
|||||||||
String | WIDTH | The width of the thumbnal
Type: INTEGER (long) |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.provider.BaseColumns
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EXTERNAL_CONTENT_URI | The content:// style URI for the "primary" external storage volume. | ||||||||||
INTERNAL_CONTENT_URI | The content:// style URI for the internal storage. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method cancels the thumbnail request so clients waiting for getThumbnail will be
interrupted and return immediately.
| |||||||||||
This method cancels the thumbnail request so clients waiting for getThumbnail will be
interrupted and return immediately.
| |||||||||||
Get the content:// style URI for the image media table on the
given volume.
| |||||||||||
This method checks if the thumbnails of the specified image (origId) has been created.
| |||||||||||
This method checks if the thumbnails of the specified image (origId) has been created.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The data stream for the thumbnail
Type: DATA STREAM
The default sort order for this table
The height of the thumbnail
Type: INTEGER (long)
The original image for the thumbnal
Type: INTEGER (ID from Images table)
The kind of the thumbnail
Type: INTEGER (One of the values below)
The blob raw data of thumbnail
Type: DATA STREAM
The width of the thumbnal
Type: INTEGER (long)
The content:// style URI for the "primary" external storage volume.
The content:// style URI for the internal storage.
This method cancels the thumbnail request so clients waiting for getThumbnail will be interrupted and return immediately. Only the original process which made the getThumbnail requests can cancel their own requests.
cr | ContentResolver |
---|---|
origId | original image id |
This method cancels the thumbnail request so clients waiting for getThumbnail will be interrupted and return immediately. Only the original process which made the getThumbnail requests can cancel their own requests.
cr | ContentResolver |
---|---|
origId | original image id |
groupId | the same groupId used in getThumbnail. |
Get the content:// style URI for the image media table on the given volume.
volumeName | the name of the volume to get the URI for |
---|
This method checks if the thumbnails of the specified image (origId) has been created. It will be blocked until the thumbnails are generated.
cr | ContentResolver used to dispatch queries to MediaProvider. |
---|---|
origId | Original image id associated with thumbnail of interest. |
groupId | the id of group to which this request belongs |
kind | The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND. |
options | this is only used for MINI_KIND when decoding the Bitmap |
This method checks if the thumbnails of the specified image (origId) has been created. It will be blocked until the thumbnails are generated.
cr | ContentResolver used to dispatch queries to MediaProvider. |
---|---|
origId | Original image id associated with thumbnail of interest. |
kind | The type of thumbnail to fetch. Should be either MINI_KIND or MICRO_KIND. |
options | this is only used for MINI_KIND when decoding the Bitmap |