# ExperimentalPersistentRecording

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/ExperimentalPersistentRecording.java+class:androidx.camera.video.ExperimentalPersistentRecording) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/camera#1.3.0)

*** ** * ** ***


```
@Retention(value = RetentionPolicy.CLASS)
@RequiresOptIn
annotation ExperimentalPersistentRecording
```

<br />

*** ** * ** ***

Denotes that the annotated method uses the experimental methods which allows a recording to be persistent.

A persistent recording will only be stopped by explicitly calling `https://developer.android.com/reference/kotlin/androidx/camera/video/Recording#stop()` or `https://developer.android.com/reference/kotlin/androidx/camera/video/Recording#close()` and will ignore events that would normally cause recording to stop, such as lifecycle events or explicit unbinding of a `https://developer.android.com/reference/kotlin/androidx/camera/video/VideoCapture` use case that the recording's `https://developer.android.com/reference/kotlin/androidx/camera/video/Recorder` is attached to.