Contents

DockAccessoryManager

Observe the state of dock accessories and enable or disable system tracking.

Declaration

class DockAccessoryManager

Overview

DockAccessoryManager enables and disables system tracking for camera-enabled apps, and provides docking and undocking notifications. If you want to customize the tracking behavior of a dock accessory, use accessoryStateChanges to obtain that accessory.

This class is a singleton, so use shared to fetch the single instance.

Topics

Obtaining a manager

Controlling dock accessories

Changing tracking behavior

See Also

Controlling the dock accessory