---
title: AVCustomDeviceRoute
framework: avrouting
role: symbol
role_heading: Class
path: avrouting/avcustomdeviceroute
---

# AVCustomDeviceRoute

An object that represents a custom device route.

## Declaration

```swift
class AVCustomDeviceRoute
```

## Overview

Overview Use the value of a route’s networkEndpoint or bluetoothIdentifier property to establish a connection to a device. Typically, only one of the properties provides a valid value, depending on the type of device. In certain cases, both properties may provide valid values, in which case your app determines which one to use.

## Topics

### Identifying routes

- [bluetoothIdentifier](avrouting/avcustomdeviceroute/bluetoothidentifier.md)
- [networkEndpoint](avrouting/avcustomdeviceroute/networkendpoint.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Inspecting an event

- [route](avrouting/avcustomroutingevent/route.md)
- [reason](avrouting/avcustomroutingevent/reason.md)
- [AVCustomRoutingEventReason](avrouting/avcustomroutingeventreason.md)
