preparesCellularRadioForNetworkConnection
Indicates whether the receiver should prepare the cellular radio for imminent network activity.
Declaration
var preparesCellularRadioForNetworkConnection: Bool { get set }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
videoSettingsVideo settingsalwaysDiscardsLateVideoFramesautomaticallyConfiguresOutputBufferDimensionsdeliversPreviewSizedOutputBufferspreservesDynamicHDRMetadatarecommendedMediaTimeScaleForAssetWriterrecommendedMovieMetadata(forVideoCodecType:assetWriterOutputFileType:)recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:)recommendedVideoSettings(forVideoCodecType:assetWriterOutputFileType:outputFileURL:)recommendedVideoSettingsForAssetWriter(writingTo:)