Instance Property

transportControlsSpeed

The current playback speed.

Declaration

@property(nonatomic, readonly) AVCaptureDeviceTransportControlsSpeed transportControlsSpeed;

Discussion

For devices that support transport control, the value of this property indicates the current playback speed of the deck. The following table gives examples of the meaning of values:

Value

Meaning

0.0

Stopped

1.0

Forward at normal speed.

-1.0

Reverse at normal speed.

2.0

Forward at 2x normal speed.

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

See Also

Managing Transport Controls

transportControlsSupported

Indicates whether the device supports transport control commands.

transportControlsPlaybackMode

The current playback mode.

- setTransportControlsPlaybackMode:speed:

Sets the transport control’s playback mode and speed.

AVCaptureDeviceTransportControlsPlaybackMode

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