Type Property

MPMoviePlayerThumbnailImageRequestDidFinish

Posted when a request to capture a thumbnail from a movie has finished whether the request succeeded or failed. Upon successful capture of a thumbnail, the userInfo dictionary contains values for the following keys:

Declaration

static let MPMoviePlayerThumbnailImageRequestDidFinish: NSNotification.Name

Discussion

If the capture request finished with an error, the userInfo dictionary contains values for the following two keys:

The movie player whose state has changed is available as the object associated with the notification. The methods to use for capturing movie thumbnails are described in Generating Thumbnail Images.

See Also

Notifications

static let MPMoviePlayerDidEnterFullscreen: NSNotification.Name

Posted when a movie player has entered full-screen mode. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerDidExitFullscreen: NSNotification.Name

Posted when a movie player has exited full-screen mode. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerIsAirPlayVideoActiveDidChange: NSNotification.Name

Posted when a movie player has started or ended playing a movie via AirPlay. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerLoadStateDidChange: NSNotification.Name

Posted when a movie player’s network buffering state has changed. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerNowPlayingMovieDidChange: NSNotification.Name

Posted when the currently playing movie has changed. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerPlaybackDidFinish: NSNotification.Name

Posted when a movie has finished playing. The userInfo dictionary of this notification contains the MPMoviePlayerPlaybackDidFinishReasonUserInfoKey key, which indicates the reason that playback finished. This notification is also sent when playback fails because of an error.

Deprecated
static let MPMoviePlayerPlaybackStateDidChange: NSNotification.Name

Posted when a movie player’s playback state has changed. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerReadyForDisplayDidChange: NSNotification.Name

Posted when the ready for display state changes.

Deprecated
static let MPMoviePlayerScalingModeDidChange: NSNotification.Name

Posted when the scaling mode of a movie player has changed. There is no userInfo dictionary.

Deprecated
static let MPMoviePlayerTimedMetadataUpdated: NSNotification.Name

Posted when new timed metadata arrives.

Deprecated
static let MPMoviePlayerWillEnterFullscreen: NSNotification.Name

Posted when a movie player is about to enter full-screen mode. The userInfo dictionary contains keys whose values describe the transition animation used to enter full-screen mode. See Fullscreen Notification Keys.

Deprecated
static let MPMoviePlayerWillExitFullscreen: NSNotification.Name

Posted when a movie player is about to exit full-screen mode. The userInfo dictionary contains keys whose values describe the transition animation used to exit full-screen mode. See Fullscreen Notification Keys.

Deprecated
static let MPMovieDurationAvailable: NSNotification.Name

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

Deprecated
static let MPMovieMediaTypesAvailable: NSNotification.Name

Posted when the available media types in a movie are determined. There is no userInfo dictionary.

Deprecated
static let MPMovieNaturalSizeAvailable: NSNotification.Name

Posted when the natural frame size of a movie is first determined or subsequently changes. There is no userInfo dictionary.

Deprecated
static let MPMovieSourceTypeAvailable: NSNotification.Name

Posted when the source type of a movie was previously unknown and is newly available. There is no userInfo dictionary.

Deprecated