# HighlightType

Artifact: [androidx.photopicker:photopicker-activity](https://developer.android.com/jetpack/androidx/releases/photopicker) [View Source](https://cs.android.com/search?q=file:androidx/photopicker/activity/params/HighlightType.kt+class:androidx.photopicker.activity.params.HighlightType) Added in [1.0.0-alpha03](https://developer.android.com/jetpack/androidx/releases/photopicker#1.0.0-alpha03)

*** ** * ** ***


```
class HighlightType
```

<br />

*** ** * ** ***

Represents the supported highlight types that can be used to highlight album media or search media in the photo picker.

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/photopicker/activity/params/HighlightType#COLLAPSED() = 0` Highlights media results as a highlighted media section in the photo picker based on the search query or the predefined album. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/photopicker/activity/params/HighlightType#EXPANDED() = 1` Opens the photo picker to show a full highlighted media results grid based on the requested search query or predefined album. |

## Constants

### COLLAPSED

```
const val COLLAPSED = 0: Int
```

Highlights media results as a highlighted media section in the photo picker based on the search query or the predefined album.

| See also |
|---|---|
| `https://developer.android.com/reference/android/provider/MediaStore.html#PICK_IMAGES_HIGHLIGHT_TYPE_COLLAPSED` |   |

### EXPANDED

```
const val EXPANDED = 1: Int
```

Opens the photo picker to show a full highlighted media results grid based on the requested search query or predefined album.

| See also |
|---|---|
| `https://developer.android.com/reference/android/provider/MediaStore.html#PICK_IMAGES_HIGHLIGHT_TYPE_EXPANDED` |   |