Instance Property

transportControlsPlaybackMode

The current playback mode.

Declaration

var transportControlsPlaybackMode: AVCaptureDevice.TransportControlsPlaybackMode { get }

Discussion

This property is only valid for devices that support transport control.

You can observe changes to the value of this property using Key-value observing.

See Also

Managing Transport Controls

var transportControlsSupported: Bool

Indicates whether the device supports transport control commands.

enum AVCaptureDevice.TransportControlsPlaybackMode

Constants that indicate the transport control's current mode of playback, if it has one.