MPMovieDurationAvailableNotification
Posted when the duration of a movie has been determined. There is no userInfo dictionary.
Declaration
extern NSString * const MPMovieDurationAvailableNotification;Discussion
To retrieve the duration of a movie, access the movie player’s duration property. The movie player whose state has changed is available as the object associated with the notification.
See Also
Notifications
MPMoviePlayerDidEnterFullscreenNotificationMPMoviePlayerDidExitFullscreenNotificationMPMoviePlayerIsAirPlayVideoActiveDidChangeNotificationMPMoviePlayerLoadStateDidChangeNotificationMPMoviePlayerNowPlayingMovieDidChangeNotificationMPMoviePlayerPlaybackDidFinishNotificationMPMoviePlayerPlaybackStateDidChangeNotificationMPMoviePlayerReadyForDisplayDidChangeNotificationMPMoviePlayerScalingModeDidChangeNotificationMPMoviePlayerThumbnailImageRequestDidFinishNotificationMPMoviePlayerTimedMetadataUpdatedNotificationMPMoviePlayerWillEnterFullscreenNotificationMPMoviePlayerWillExitFullscreenNotificationMPMovieMediaTypesAvailableNotificationMPMovieNaturalSizeAvailableNotification