Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#constants) \| [Inherited Constants](https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#inhconstants) \| [Fields](https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#lfields) \| [Ctors](https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#pubctors) \| [Methods](https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#inhmethods)

# MediaStore.Images.Thumbnails

*** ** * ** ***

` public static class MediaStore.Images.Thumbnails `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/provider/BaseColumns `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.MediaStore.Images.Thumbnails |

<br />

*** ** * ** ***

<br />

**This class was deprecated in API level 29.**   

Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.

This class provides utility methods to obtain thumbnails for various `https://developer.android.com/reference/android/provider/MediaStore.Images` items.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#DATA` Path to the thumbnail file on disk. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#DEFAULT_SORT_ORDER` The default sort order for this table |
| `int` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#FULL_SCREEN_KIND` <br /> |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#HEIGHT` The height of the thumbnail. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#IMAGE_ID` The original image for the thumbnal. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#KIND` The kind of the thumbnail. |
| `int` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#MICRO_KIND` <br /> |
| `int` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#MINI_KIND` <br /> |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#THUMB_DATA` *This constant was deprecated in API level 29. this column never existed internally, and could never have returned valid data.* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#WIDTH` The width of the thumbnal. |

### Inherited constants

From interface `https://developer.android.com/reference/android/provider/BaseColumns` `https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_COUNT`

The count of rows in a directory.
`https://developer.android.com/reference/java/lang/String` `https://developer.android.com/reference/android/provider/BaseColumns#_ID`

The unique ID for a row.

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#EXTERNAL_CONTENT_URI` The content:// style URI for the "primary" external storage volume. |
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#INTERNAL_CONTENT_URI` The content:// style URI for the internal storage. |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#Thumbnails()() ` |

| ### Public methods ||
|---|---|
| ` static void` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#cancelThumbnailRequest(android.content.ContentResolver,%20long)(https://developer.android.com/reference/android/content/ContentResolver cr, long origId) ` *This method was deprecated in API level 29. Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.* |
| ` static void` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#cancelThumbnailRequest(android.content.ContentResolver,%20long,%20long)(https://developer.android.com/reference/android/content/ContentResolver cr, long origId, long groupId) ` *This method was deprecated in API level 29. Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.* |
| ` static https://developer.android.com/reference/android/net/Uri` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#getContentUri(java.lang.String)(https://developer.android.com/reference/java/lang/String volumeName) ` Get the content:// style URI for the image media table on the given volume. |
| ` static https://developer.android.com/reference/android/util/Size` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#getKindSize(int)(int kind) ` *This method was deprecated in API level 29. Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.* |
| ` static https://developer.android.com/reference/android/graphics/Bitmap` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#getThumbnail(android.content.ContentResolver,%20long,%20long,%20int,%20android.graphics.BitmapFactory.Options)(https://developer.android.com/reference/android/content/ContentResolver cr, long imageId, long groupId, int kind, https://developer.android.com/reference/android/graphics/BitmapFactory.Options options) ` *This method was deprecated in API level 29. Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.* |
| ` static https://developer.android.com/reference/android/graphics/Bitmap` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#getThumbnail(android.content.ContentResolver,%20long,%20int,%20android.graphics.BitmapFactory.Options)(https://developer.android.com/reference/android/content/ContentResolver cr, long imageId, int kind, https://developer.android.com/reference/android/graphics/BitmapFactory.Options options) ` *This method was deprecated in API level 29. Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.* |
| ` static final https://developer.android.com/reference/android/database/Cursor` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#query(android.content.ContentResolver,%20android.net.Uri,%20java.lang.String[])(https://developer.android.com/reference/android/content/ContentResolver cr, https://developer.android.com/reference/android/net/Uri uri, https://developer.android.com/reference/java/lang/String projection) ` *This method is deprecated. all queries should be performed through `https://developer.android.com/reference/android/content/ContentResolver` directly, which offers modern features like `https://developer.android.com/reference/android/os/CancellationSignal`.* |
| ` static final https://developer.android.com/reference/android/database/Cursor` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#queryMiniThumbnail(android.content.ContentResolver,%20long,%20int,%20java.lang.String[])(https://developer.android.com/reference/android/content/ContentResolver cr, long origId, int kind, https://developer.android.com/reference/java/lang/String projection) ` *This method is deprecated. all queries should be performed through `https://developer.android.com/reference/android/content/ContentResolver` directly, which offers modern features like `https://developer.android.com/reference/android/os/CancellationSignal`.* |
| ` static final https://developer.android.com/reference/android/database/Cursor` | ` https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#queryMiniThumbnails(android.content.ContentResolver,%20android.net.Uri,%20int,%20java.lang.String[])(https://developer.android.com/reference/android/content/ContentResolver cr, https://developer.android.com/reference/android/net/Uri uri, int kind, https://developer.android.com/reference/java/lang/String projection) ` *This method is deprecated. all queries should be performed through `https://developer.android.com/reference/android/content/ContentResolver` directly, which offers modern features like `https://developer.android.com/reference/android/os/CancellationSignal`.* |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.

## Constants

### DATA

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DATA
```

Path to the thumbnail file on disk. As of `https://developer.android.com/reference/android/os/Build.VERSION_CODES#Q`, this thumbnail has correct rotation, don't need to rotate it again.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_STRING` .

<br />

Constant Value: "_data"

### DEFAULT_SORT_ORDER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DEFAULT_SORT_ORDER
```

The default sort order for this table

<br />

Constant Value: "image_id ASC"

### FULL_SCREEN_KIND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int FULL_SCREEN_KIND
```

<br />

<br />

Constant Value: 2 (0x00000002)

### HEIGHT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String HEIGHT
```

The height of the thumbnail.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_INTEGER` , and are read-only and cannot be mutated.

<br />

Constant Value: "height"

### IMAGE_ID

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String IMAGE_ID
```

The original image for the thumbnal.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_INTEGER` .

<br />

Constant Value: "image_id"

### KIND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String KIND
```

The kind of the thumbnail.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_INTEGER` .

<br />

Constant Value: "kind"

### MICRO_KIND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int MICRO_KIND
```

<br />

<br />

Constant Value: 3 (0x00000003)

### MINI_KIND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int MINI_KIND
```

<br />

<br />

Constant Value: 1 (0x00000001)

### THUMB_DATA

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String THUMB_DATA
```

<br />

**This constant was deprecated in API level 29.**   

this column never existed internally, and could never have returned valid data.

The blob raw data of thumbnail.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_BLOB` .

<br />

Constant Value: "thumb_data"

### WIDTH

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String WIDTH
```

The width of the thumbnal.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_INTEGER` , and are read-only and cannot be mutated.

<br />

Constant Value: "width"

## Fields

### EXTERNAL_CONTENT_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Uri EXTERNAL_CONTENT_URI
```

The content:// style URI for the "primary" external storage volume.

<br />

### INTERNAL_CONTENT_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Uri INTERNAL_CONTENT_URI
```

The content:// style URI for the internal storage.

<br />

## Public constructors

### Thumbnails

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public Thumbnails ()
```

<br />

<br />

## Public methods

### cancelThumbnailRequest

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static void cancelThumbnailRequest (ContentResolver cr, 
                long origId)
```

<br />

**This method was deprecated in API level 29.**   

Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.

Cancel any outstanding `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#getThumbnail(android.content.ContentResolver,%20long,%20int,%20android.graphics.BitmapFactory.Options)` requests, causing them to return by throwing a `https://developer.android.com/reference/android/os/OperationCanceledException`.

This method has no effect on `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)` calls, since they provide their own `https://developer.android.com/reference/android/os/CancellationSignal`.

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `origId` | `long` <br /> |

### cancelThumbnailRequest

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static void cancelThumbnailRequest (ContentResolver cr, 
                long origId, 
                long groupId)
```

<br />

**This method was deprecated in API level 29.**   

Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.

Cancel any outstanding `https://developer.android.com/reference/android/provider/MediaStore.Images.Thumbnails#getThumbnail(android.content.ContentResolver,%20long,%20int,%20android.graphics.BitmapFactory.Options)` requests, causing them to return by throwing a `https://developer.android.com/reference/android/os/OperationCanceledException`.

This method has no effect on `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)` calls, since they provide their own `https://developer.android.com/reference/android/os/CancellationSignal`.

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `origId` | `long` <br /> |
| `groupId` | `long` <br /> |

### getContentUri

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Uri getContentUri (String volumeName)
```

Get the content:// style URI for the image media table on the given volume.

<br />

| Parameters ||
|---|---|
| `volumeName` | `String`: the name of the volume to get the URI for <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/net/Uri` | the URI to the image media table on the given volume <br /> |

### getKindSize

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Size getKindSize (int kind)
```

<br />

**This method was deprecated in API level 29.**   

Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.

Return the typical `https://developer.android.com/reference/android/util/Size` (in pixels) used internally when the given thumbnail kind is requested.

<br />

| Parameters ||
|---|---|
| `kind` | `int` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/util/Size` | This value cannot be `null`. <br /> |

### getThumbnail

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Bitmap getThumbnail (ContentResolver cr, 
                long imageId, 
                long groupId, 
                int kind, 
                BitmapFactory.Options options)
```

<br />

**This method was deprecated in API level 29.**   

Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.

Return thumbnail representing a specific image item. If a thumbnail doesn't exist, this method will block until it's generated. Callers are responsible for their own in-memory caching of returned values. As of `https://developer.android.com/reference/android/os/Build.VERSION_CODES#Q`, this output of the thumbnail has correct rotation, don't need to rotate it again.

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `imageId` | `long`: the image item to obtain a thumbnail for. <br /> |
| `groupId` | `long` <br /> |
| `kind` | `int`: optimal thumbnail size desired. <br /> |
| `options` | `BitmapFactory.Options` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/graphics/Bitmap` | decoded thumbnail, or `null` if problem was encountered. <br /> |

### getThumbnail

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Bitmap getThumbnail (ContentResolver cr, 
                long imageId, 
                int kind, 
                BitmapFactory.Options options)
```

<br />

**This method was deprecated in API level 29.**   

Callers should migrate to using `https://developer.android.com/reference/android/content/ContentResolver#loadThumbnail(android.net.Uri,%20android.util.Size,%20android.os.CancellationSignal)`, since it offers richer control over requested thumbnail sizes and cancellation behavior.

Return thumbnail representing a specific image item. If a thumbnail doesn't exist, this method will block until it's generated. Callers are responsible for their own in-memory caching of returned values. As of `https://developer.android.com/reference/android/os/Build.VERSION_CODES#Q`, this output of the thumbnail has correct rotation, don't need to rotate it again.

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `imageId` | `long`: the image item to obtain a thumbnail for. <br /> |
| `kind` | `int`: optimal thumbnail size desired. <br /> |
| `options` | `BitmapFactory.Options` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/graphics/Bitmap` | decoded thumbnail, or `null` if problem was encountered. <br /> |

### query

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Cursor query (ContentResolver cr, 
                Uri uri, 
                String[] projection)
```

<br />

**This method is deprecated.**   

all queries should be performed through `https://developer.android.com/reference/android/content/ContentResolver` directly, which offers modern features like `https://developer.android.com/reference/android/os/CancellationSignal`.

<br />

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `uri` | `Uri` <br /> |
| `projection` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/database/Cursor` | <br /> |

### queryMiniThumbnail

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Cursor queryMiniThumbnail (ContentResolver cr, 
                long origId, 
                int kind, 
                String[] projection)
```

<br />

**This method is deprecated.**   

all queries should be performed through `https://developer.android.com/reference/android/content/ContentResolver` directly, which offers modern features like `https://developer.android.com/reference/android/os/CancellationSignal`.

<br />

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `origId` | `long` <br /> |
| `kind` | `int` <br /> |
| `projection` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/database/Cursor` | <br /> |

### queryMiniThumbnails

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Cursor queryMiniThumbnails (ContentResolver cr, 
                Uri uri, 
                int kind, 
                String[] projection)
```

<br />

**This method is deprecated.**   

all queries should be performed through `https://developer.android.com/reference/android/content/ContentResolver` directly, which offers modern features like `https://developer.android.com/reference/android/os/CancellationSignal`.

<br />

<br />

| Parameters ||
|---|---|
| `cr` | `ContentResolver` <br /> |
| `uri` | `Uri` <br /> |
| `kind` | `int` <br /> |
| `projection` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/database/Cursor` | <br /> |