MPMovieDurationAvailable
Posted when the duration of a movie has been determined. There is no userInfo dictionary.
Declaration
static let MPMovieDurationAvailable: NSNotification.NameDiscussion
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
MediaPlayer
MPMusicPlayerControllerQueueDidChangeMPMediaLibraryDidChangeMPMediaPlaybackIsPreparedToPlayDidChangeMPMusicPlayerControllerNowPlayingItemDidChangeMPMusicPlayerControllerPlaybackStateDidChangeMPMusicPlayerControllerVolumeDidChangeMPMovieMediaTypesAvailableMPMovieNaturalSizeAvailableMPMoviePlayerDidEnterFullscreenMPMoviePlayerDidExitFullscreenMPMoviePlayerIsAirPlayVideoActiveDidChangeMPMoviePlayerLoadStateDidChangeMPMoviePlayerNowPlayingMovieDidChangeMPMoviePlayerPlaybackDidFinishMPMoviePlayerPlaybackStateDidChange