Instance Method

setTransportControlsPlaybackMode:speed:

Sets the transport control’s playback mode and speed.

Declaration

- (void)setTransportControlsPlaybackMode:(AVCaptureDeviceTransportControlsPlaybackMode)mode speed:(AVCaptureDeviceTransportControlsSpeed)speed;

Parameters

mode

An AVCaptureDeviceTransportControlsPlaybackMode constant indicating whether the deck should be put into play mode.

speed

An AVCaptureDeviceTransportControlsSpeed value indicating the speed at which to wind or play the tape.

Discussion

Before changing the value of this property, you must call lockForConfiguration: to acquire exclusive access to the device’s configuration properties. Otherwise, calling this method raises an exception. When you are done configuring the device, call unlockForConfiguration to release the lock and allow other devices to configure the settings.

See Also

Managing Transport Controls

transportControlsSupported

Indicates whether the device supports transport control commands.

transportControlsPlaybackMode

The current playback mode.

transportControlsSpeed

The current playback speed.

AVCaptureDeviceTransportControlsPlaybackMode

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