DockAccessory
Obtain accessory information and control tracking behavior.
Declaration
final class DockAccessoryOverview
DockAccessory provides information about the dock accessory including its model name and firmware version. It also controls the dock accessory when you disable system tracking. Use DockAccesory to perform animations, or explicitly control the position of the dock accessory in three-dimensional space by supplying coordinates in units of radians. The collection of the X, Y, and Z values corresponding to pitch, yaw, and roll is the angular position of the dock accessory.
If there are multiple subjects in a video frame, direct the dock accessory to focus on a particular area of the frame using setFramingMode(_:).
Topics
Selecting and tracking
selectSubject(at:)track(_:cameraInformation:)track(_:cameraInformation:)DockAccessory.ObservationDockAccessory.CameraInformationDockAccessory.CameraOrientation
Performing animation
Setting position and limits
setLimits(_:)setOrientation(_:duration:relative:)setOrientation(_:duration:relative:)setAngularVelocity(_:)
Setting framing mode
Getting position and limits
Getting accessory information
firmwareVersionhardwareModelidentifierDockAccessory.IdentifierDockAccessory.CategoryDockAccessory.StateDockAccessory.StateChangeDockAccessory.StateChanges
Inspecting the object
Structures
DockAccessory.AccessoryEventsDockAccessory.BatteryStateDockAccessory.BatteryStatesDockAccessory.TrackedObjectDockAccessory.TrackedPersonDockAccessory.TrackingStateDockAccessory.TrackingStates
Instance Properties
Instance Methods
selectSubjects(_:)setOrientation(_:duration:relative:)setOrientation(_:duration:relative:)track(_:cameraInformation:image:)track(_:cameraInformation:image:)