Contents

MPMovieDurationAvailable

Posted when the duration of a movie has been determined. There is no userInfo dictionary.

Declaration

static let MPMovieDurationAvailable: NSNotification.Name

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

MediaPlayer