iOS Developer Library

Developer

External Accessory Framework Reference

Introduction

Classes   Protocols  

The External Accessory framework provides support for communicating with external hardware connected to an iOS-based device through the 30-pin dock connector or wirelessly using Bluetooth. Applications that support external accessories must be sure to configure their Info.plist file correctly. Specifically, you must include the UISupportedExternalAccessoryProtocols key to declare the specific hardware protocols your application supports. For more information about this framework, see External Accessory Programming Topics.

Classes

Class

Abstract

NSObject

NSObject is the root class of most Objective-C class hierarchies.

EAAccessory

The EAAccessory class provides your application with information about a single connected hardware accessory.

EAAccessoryManager

The EAAccessoryManager class coordinates the attached accessories for an iOS-based device.

EASession

The EASession class is used to create a communications channel between your application and a connected hardware accessory.

EAWiFiUnconfiguredAccessory

The EAWiFiUnconfiguredAccessory class provides your app information about an unconfigured MFI Wireless Accessory Configuration accessory.

EAWiFiUnconfiguredAccessoryBrowser

The EAWiFiUnconfiguredAccessoryBrowser class gives your app access to the MFi Wireless Accessory Configuration process.

Protocols

Protocol

Abstract

EAAccessoryDelegate

The EAAccessoryDelegate protocol defines a single method for receiving notifications when the associated EAAccessory object is disconnected.

EAWiFiUnconfiguredAccessoryBrowserDelegate

The EAWiFiUnconfiguredAccessoryBrowserDelegate protocol defines several required callbacks that tell the delegate of an EAWiFiUnconfiguredAccessoryBrowser object about the state of the search for unconfigured accessories and the configuration processes.