---
title: isRouteDetectionEnabled
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avroutedetector/isroutedetectionenabled
---

# isRouteDetectionEnabled

A Boolean value that indicates whether route detection is in an enabled state.

## Declaration

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

## Discussion

Discussion The default value is false. note: Enabling route detection significantly increases power consumption. Turn it off when you no longer need it.

## See Also

### Detecting routes

- [detectsCustomRoutes](avfoundation/avroutedetector/detectscustomroutes.md)
- [multipleRoutesDetected](avfoundation/avroutedetector/multipleroutesdetected.md)
- [AVRouteDetectorMultipleRoutesDetectedDidChange](foundation/nsnotification/name-swift.struct/avroutedetectormultipleroutesdetecteddidchange.md)
