# StillCaptureRequestOptionTarget

Artifact: [androidx.camera:camera-camera2](https://developer.android.com/jetpack/androidx/releases/camera) [View Source](https://cs.android.com/search?q=file:androidx/camera/camera2/interop/InteropBaseInterfaces.kt+class:androidx.camera.camera2.interop.StillCaptureRequestOptionTarget) Added in [1.7.0-rc02](https://developer.android.com/jetpack/androidx/releases/camera#1.7.0-rc02)

*** ** * ** ***


```
class StillCaptureRequestOptionTarget
```

<br />

*** ** * ** ***

Target class supporting `stillCaptureRequest[key] = value` indexing operator syntax.

## Summary

| ### Public functions |
|---|---|
| `operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `<V : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/camera/camera2/interop/StillCaptureRequestOptionTarget#set(android.hardware.camera2.CaptureRequest.Key,kotlin.Any)(key: https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.Key.html<V>, value: V)` Sets a `https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.Key.html` and value for still capture requests. |

## Public functions

### set

Added in [1.7.0-rc02](https://developer.android.com/jetpack/androidx/releases/camera#1.7.0-rc02)

```
operator fun <V : Any?> set(key: CaptureRequest.Key<V>, value: V): Unit
```

Sets a `https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.Key.html` and value for still capture requests.