Instance Property

duration

The duration of the movie, measured in seconds.

Declaration

@property(nonatomic, readonly) NSTimeInterval duration;

Discussion

If the duration of the movie is not known, the value in this property is 0.0. If the duration is subsequently determined, this property is updated and a MPMovieDurationAvailableNotification notification is posted.

See Also

Accessing the Movie Duration

playableDuration

The amount of currently playable content.

Deprecated