One Logo Pool Ball
MediaPlayer · IOS API REFERENCE

MPMoviePlayerViewController

class · iOS 3.2+ · Deprecated in iOS 9.0 · SDK 27.1

class MPMoviePlayerViewController

Members (2)

init · iOS 3.2+ · Deprecated in iOS 9.0

init

TypeScript
static init(contentURL?: (string) | null): Promise<MPMoviePlayerViewController>
Swift declaration
init!(contentURL: URL!)
get · iOS 3.2+ · Deprecated in iOS 9.0

moviePlayer

TypeScript
get moviePlayer(): Promise<(MPMoviePlayerController) | null>
Swift declaration
var moviePlayer: MPMoviePlayerController! { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPMoviePlayerViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MediaPlayer types →