---
title: EAAccessorySelectedKey
framework: externalaccessory
role: symbol
role_heading: Global Variable
path: externalaccessory/eaaccessoryselectedkey
---

# EAAccessorySelectedKey

A key that indicates the accessory object that the user selected.

## Declaration

```swift
let EAAccessorySelectedKey: String
```

## Discussion

Discussion The value assigned to this key is the EAAccessory object that the user selected. This key is included in the info dictionary when the user pairs a Bluetooth accessory with the device using the Bluetooth picker.

## See Also

### Managing Connection Status Changes

- [registerForLocalNotifications()](externalaccessory/eaaccessorymanager/registerforlocalnotifications().md)
- [unregisterForLocalNotifications()](externalaccessory/eaaccessorymanager/unregisterforlocalnotifications().md)
- [EAAccessoryDidConnect](foundation/nsnotification/name-swift.struct/eaaccessorydidconnect.md)
- [EAAccessoryDidDisconnect](foundation/nsnotification/name-swift.struct/eaaccessorydiddisconnect.md)
- [EAAccessoryKey](externalaccessory/eaaccessorykey.md)
