---
title: preparesCellularRadioForNetworkConnection
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturevideodataoutput/preparescellularradiofornetworkconnection
---

# preparesCellularRadioForNetworkConnection

Indicates whether the receiver should prepare the cellular radio for imminent network activity.

## Declaration

```swift
var preparesCellularRadioForNetworkConnection: Bool { get set }
```

## Discussion

Discussion Apps that scan video data output buffers for information that will result in network activity (such as detecting a QRCode containing a URL) should set this property true to allow the cellular radio to prepare for an imminent network request. Enabling this property requires a lengthy reconfiguration of the capture render pipeline, so you should set this property to true before calling startRunning(). Using this API requires your app to adopt the entitlement com.apple.developer.avfoundation.video-data-output-prepares-cellular-radio-for-machine-readable-code-scanning.

## See Also

### Configuring video capture

- [videoSettings](avfoundation/avcapturevideodataoutput/videosettings.md)
- [Video settings](avfoundation/video-settings.md)
- [alwaysDiscardsLateVideoFrames](avfoundation/avcapturevideodataoutput/alwaysdiscardslatevideoframes.md)
- [automaticallyConfiguresOutputBufferDimensions](avfoundation/avcapturevideodataoutput/automaticallyconfiguresoutputbufferdimensions.md)
- [deliversPreviewSizedOutputBuffers](avfoundation/avcapturevideodataoutput/deliverspreviewsizedoutputbuffers.md)
- [preservesDynamicHDRMetadata](avfoundation/avcapturevideodataoutput/preservesdynamichdrmetadata.md)
- [recommendedMediaTimeScaleForAssetWriter](avfoundation/avcapturevideodataoutput/recommendedmediatimescaleforassetwriter.md)
- [recommendedMovieMetadata(forVideoCodecType:assetWriterOutputFileType:)](avfoundation/avcapturevideodataoutput/recommendedmoviemetadata(forvideocodectype:assetwriteroutputfiletype:).md)
- [recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:)](avfoundation/avcapturevideodataoutput/recommendedvideosettings(forvideocodectype:assetwriteroutputfiletype:).md)
- [recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:outputFileURL:)](avfoundation/avcapturevideodataoutput/recommendedvideosettings(forvideocodectype:assetwriteroutputfiletype:outputfileurl:).md)
- [recommendedVideoSettingsForAssetWriter(writingTo:)](avfoundation/avcapturevideodataoutput/recommendedvideosettingsforassetwriter(writingto:).md)
