---
title: discoveryMethod
framework: nearbyinteraction
role: symbol
role_heading: Instance Property
path: nearbyinteraction/nidltdoaconfiguration/discoverymethod-swift.property
---

# discoveryMethod

The technology your app uses to discover DL-TDOA anchors.

## Declaration

```swift
var discoveryMethod: NIDLTDOAConfiguration.DiscoveryMethod { get set }
```

## Discussion

Discussion This property specifies Wi-Fi or Bluetooth Low Energy, depending on how your app scans for nearby DL-TDOA anchors. Set this property when configuring the session by calling init(networkIdentifier:discoveryMethod:). If you use the init(networkIdentifier:) initializer instead, the framework defaults the property to NIDLTDOAConfiguration.DiscoveryMethod.bluetoothLowEnergy.

## See Also

### Specifing the discovery method

- [NIDLTDOAConfiguration.DiscoveryMethod](nearbyinteraction/nidltdoaconfiguration/discoverymethod-swift.enum.md)
