# VideoCaptureScope

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

*** ** * ** ***


```
@CameraXDsl
class VideoCaptureScope<T : VideoOutput> : InteropConfigurableScope<VideoCapture.Builder<T>>
```

<br />

*** ** * ** ***

Scope class for `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture` configuration DSL.

## Summary

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/core/DynamicRange` | `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCaptureScope#dynamicRange()` Sets or gets the dynamic range for this use case. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCaptureScope#isVideoStabilizationEnabled()` Sets or gets whether video stabilization is enabled for this use case. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCaptureScope#mirrorMode()` Sets or gets the mirror mode for this use case. |
| `https://developer.android.com/reference/android/util/Range.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>` | `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCaptureScope#targetFrameRate()` Sets or gets the target frame rate range for this use case. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCaptureScope#targetName()` Sets or gets the target name for this use case configuration. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCaptureScope#targetRotation()` Sets or gets the target rotation for this use case. |

## Public properties

### dynamicRange

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

```
var dynamicRange: DynamicRange
```

Sets or gets the dynamic range for this use case.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture.Builder#setDynamicRange(androidx.camera.core.DynamicRange)` |   |

### isVideoStabilizationEnabled

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

```
var isVideoStabilizationEnabled: Boolean
```

Sets or gets whether video stabilization is enabled for this use case.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture.Builder#setVideoStabilizationEnabled(boolean)` |   |

### mirrorMode

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

```
var mirrorMode: Int
```

Sets or gets the mirror mode for this use case.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture.Builder#setMirrorMode(int)` |   |

### targetFrameRate

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

```
var targetFrameRate: Range<Int>
```

Sets or gets the target frame rate range for this use case.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture.Builder#setTargetFrameRate(android.util.Range<java.lang.Integer>)` |   |

### targetName

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

```
var targetName: String
```

Sets or gets the target name for this use case configuration.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture.Builder#setTargetName(java.lang.String)` |   |

### targetRotation

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

```
var targetRotation: Int
```

Sets or gets the target rotation for this use case.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture.Builder#setTargetRotation(int)` |   |