Instance Method

setCurrentTime:

Sets the playback point, measured in seconds, from the beginning of the audio file.

Declaration

- (void)setCurrentTime:(NSTimeInterval)currentTime;

Parameters

currentTime

The offset of the current playback position, measured in seconds from the start of the sound.

Discussion

Use this method to seek a specific point in a sound file or to implement fast-forward and rewind functions.

See Also

Managing the Playback Position

currentTime

The current playback point, measured in seconds, from the beginning of the audio file.

Deprecated