DockAccessoryManager
Observe the state of dock accessories and enable or disable system tracking.
Declaration
class DockAccessoryManagerOverview
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.