---
title: requiresNetworkConnectivity
framework: backgroundtasks
role: symbol
role_heading: Instance Property
path: backgroundtasks/bgprocessingtaskrequest/requiresnetworkconnectivity
---

# requiresNetworkConnectivity

A Boolean specifying if the processing task requires network connectivity.

## Declaration

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

## See Also

### Setting Task Request Options

- [requiresExternalPower](backgroundtasks/bgprocessingtaskrequest/requiresexternalpower.md)
