---
title: NIDLTDOAConfiguration.DiscoveryMethod
framework: nearbyinteraction
role: symbol
role_heading: Enumeration
path: nearbyinteraction/nidltdoaconfiguration/discoverymethod-swift.enum
---

# NIDLTDOAConfiguration.DiscoveryMethod

The technologies an app can use to discover Downlink Time-Difference-of-Arrival anchors.

## Declaration

```swift
enum DiscoveryMethod
```

## Overview

Overview When you create a DL-TDOA configuration (NIDLTDOAConfigration), specify the method that the session uses to discover nearby anchors, among Wi-Fi or Bluetooth Low Energy, by calling init(networkIdentifier:discoveryMethod:). The framework needs to know the anchor discovery technology upfront, to match your deployment environment. The default value is NIDLTDOAConfiguration.DiscoveryMethod.bluetoothLowEnergy.

## Topics

### Specifying the discovery technology

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

### Createing a discovery method

- [init(rawValue:)](nearbyinteraction/nidltdoaconfiguration/discoverymethod-swift.enum/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Specifing the discovery method

- [discoveryMethod](nearbyinteraction/nidltdoaconfiguration/discoverymethod-swift.property.md)
