Package org.robovm.apple.mediaplayer
Class MPMoviePlayerController
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.mediaplayer.MPMoviePlayerController
- All Implemented Interfaces:
NSObjectProtocol,MPMediaPlayback,ObjCProtocol
@Deprecated public class MPMoviePlayerController extends NSObject implements MPMediaPlayback
Deprecated.
Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPMoviePlayerController.MPMoviePlayerControllerPtrDeprecated.static classMPMoviePlayerController.NotificationsDeprecated.Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description MPMoviePlayerController()Deprecated.protectedMPMoviePlayerController(NSObject.Handle h, long handle)Deprecated.protectedMPMoviePlayerController(NSObject.SkipInit skipInit)Deprecated.MPMoviePlayerController(NSURL url)Deprecated.Deprecated in iOS 9.0. -
Method Summary
Modifier and Type Method Description booleanallowsAirPlay()Deprecated.Deprecated in iOS 9.0.voidbeginSeekingBackward()Deprecated.voidbeginSeekingForward()Deprecated.voidcancelAllThumbnailImageRequests()Deprecated.Deprecated in iOS 9.0.voidcancelPreroll()Deprecated.static NSStringDidEnterFullscreenNotification()Deprecated.Deprecated in iOS 9.0.static NSStringDidExitFullscreenNotification()Deprecated.Deprecated in iOS 9.0.static NSStringDurationAvailableNotification()Deprecated.Deprecated in iOS 9.0.voidendSeeking()Deprecated.MPMovieAccessLoggetAccessLog()Deprecated.Deprecated in iOS 9.0.UIViewgetBackgroundView()Deprecated.Deprecated in iOS 9.0.NSURLgetContentURL()Deprecated.Deprecated in iOS 9.0.MPMovieControlStylegetControlStyle()Deprecated.Deprecated in iOS 9.0.floatgetCurrentPlaybackRate()Deprecated.doublegetCurrentPlaybackTime()Deprecated.doublegetDuration()Deprecated.Deprecated in iOS 9.0.doublegetEndPlaybackTime()Deprecated.Deprecated in iOS 9.0.MPMovieErrorLoggetErrorLog()Deprecated.Deprecated in iOS 9.0.doublegetInitialPlaybackTime()Deprecated.Deprecated in iOS 9.0.MPMovieLoadStategetLoadState()Deprecated.Deprecated in iOS 9.0.MPMovieMediaTypeMaskgetMovieMediaTypes()Deprecated.Deprecated in iOS 9.0.MPMovieSourceTypegetMovieSourceType()Deprecated.Deprecated in iOS 9.0.CGSizegetNaturalSize()Deprecated.Deprecated in iOS 9.0.doublegetPlayableDuration()Deprecated.Deprecated in iOS 9.0.MPMoviePlaybackStategetPlaybackState()Deprecated.Deprecated in iOS 9.0.MPMovieRepeatModegetRepeatMode()Deprecated.Deprecated in iOS 9.0.MPMovieScalingModegetScalingMode()Deprecated.Deprecated in iOS 9.0.UIImagegetThumbnailImage(double playbackTime, MPMovieTimeOption option)Deprecated.Deprecated in iOS 9.0.NSArray<MPTimedMetadata>getTimedMetadata()Deprecated.Deprecated in iOS 9.0.UIViewgetView()Deprecated.Deprecated in iOS 9.0.protected longinit(NSURL url)Deprecated.Deprecated in iOS 9.0.booleanisAirPlayVideoActive()Deprecated.Deprecated in iOS 9.0.static NSStringIsAirPlayVideoActiveDidChangeNotification()Deprecated.Deprecated in iOS 9.0.booleanisFullscreen()Deprecated.Deprecated in iOS 9.0.booleanisPreparedToPlay()Deprecated.static NSStringIsPreparedToPlayDidChangeNotification()Deprecated.booleanisReadyForDisplay()Deprecated.static NSStringLoadStateDidChangeNotification()Deprecated.Deprecated in iOS 9.0.static NSStringMediaTypesAvailableNotification()Deprecated.Deprecated in iOS 9.0.static NSStringNaturalSizeAvailableNotification()Deprecated.Deprecated in iOS 9.0.static NSStringNowPlayingMovieDidChangeNotification()Deprecated.Deprecated in iOS 9.0.voidpause()Deprecated.voidplay()Deprecated.static NSStringPlaybackDidFinishNotification()Deprecated.Deprecated in iOS 9.0.protected static NSStringPlaybackDidFinishReasonUserInfoKey()Deprecated.Deprecated in iOS 9.0.static NSStringPlaybackStateDidChangeNotification()Deprecated.Deprecated in iOS 9.0.voidplayPrerollAd(VoidBlock1<NSError> completionHandler)Deprecated.static voidpreparePrerollAds()Deprecated.voidprepareToPlay()Deprecated.static NSStringReadyForDisplayDidChangeNotification()Deprecated.Deprecated in iOS 9.0.voidrequestThumbnailImages(NSArray<NSNumber> playbackTimes, MPMovieTimeOption option)Deprecated.Deprecated in iOS 9.0.static NSStringScalingModeDidChangeNotification()Deprecated.Deprecated in iOS 9.0.voidsetAllowsAirPlay(boolean v)Deprecated.Deprecated in iOS 9.0.voidsetContentURL(NSURL v)Deprecated.Deprecated in iOS 9.0.voidsetControlStyle(MPMovieControlStyle v)Deprecated.Deprecated in iOS 9.0.voidsetCurrentPlaybackRate(float v)Deprecated.voidsetCurrentPlaybackTime(double v)Deprecated.voidsetEndPlaybackTime(double v)Deprecated.Deprecated in iOS 9.0.voidsetFullscreen(boolean v)Deprecated.Deprecated in iOS 9.0.voidsetFullscreen(boolean fullscreen, boolean animated)Deprecated.Deprecated in iOS 9.0.voidsetInitialPlaybackTime(double v)Deprecated.Deprecated in iOS 9.0.voidsetMovieSourceType(MPMovieSourceType v)Deprecated.Deprecated in iOS 9.0.voidsetRepeatMode(MPMovieRepeatMode v)Deprecated.Deprecated in iOS 9.0.voidsetScalingMode(MPMovieScalingMode v)Deprecated.Deprecated in iOS 9.0.voidsetShouldAutoplay(boolean v)Deprecated.Deprecated in iOS 9.0.voidsetUsesApplicationAudioSession(boolean v)Deprecated.Deprecated in iOS 9.0.booleanshouldAutoplay()Deprecated.Deprecated in iOS 9.0.static NSStringSourceTypeAvailableNotification()Deprecated.Deprecated in iOS 9.0.voidstop()Deprecated.static NSStringThumbnailImageRequestDidFinishNotification()Deprecated.Deprecated in iOS 9.0.static NSStringTimedMetadataUpdatedNotification()Deprecated.Deprecated in iOS 9.0.protected static NSStringTimedMetadataUserInfoKey()Deprecated.Deprecated in iOS 9.0.booleanusesApplicationAudioSession()Deprecated.Deprecated in iOS 9.0.static NSStringWillEnterFullscreenNotification()Deprecated.Deprecated in iOS 9.0.static NSStringWillExitFullscreenNotification()Deprecated.Deprecated in iOS 9.0.Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
MPMoviePlayerController
public MPMoviePlayerController()Deprecated. -
MPMoviePlayerController
Deprecated. -
MPMoviePlayerController
Deprecated. -
MPMoviePlayerController
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit
-
-
Method Details
-
getContentURL
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setContentURL
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getView
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getBackgroundView
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getPlaybackState
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getLoadState
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getControlStyle
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setControlStyle
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getRepeatMode
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setRepeatMode
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
shouldAutoplay
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setShouldAutoplay
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
isFullscreen
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setFullscreen
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getScalingMode
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setScalingMode
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
isReadyForDisplay
public boolean isReadyForDisplay()Deprecated. -
getMovieMediaTypes
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getMovieSourceType
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setMovieSourceType
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getDuration
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getPlayableDuration
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getNaturalSize
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getInitialPlaybackTime
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setInitialPlaybackTime
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getEndPlaybackTime
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setEndPlaybackTime
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
allowsAirPlay
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setAllowsAirPlay
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
isAirPlayVideoActive
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getTimedMetadata
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit. -
getAccessLog
Deprecated.Deprecated in iOS 9.0. Use AVFoundation. -
getErrorLog
Deprecated.Deprecated in iOS 9.0. Use AVFoundation. -
usesApplicationAudioSession
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit. -
setUsesApplicationAudioSession
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit. -
isPreparedToPlay
public boolean isPreparedToPlay()Deprecated.- Specified by:
isPreparedToPlayin interfaceMPMediaPlayback
-
getCurrentPlaybackTime
public double getCurrentPlaybackTime()Deprecated.- Specified by:
getCurrentPlaybackTimein interfaceMPMediaPlayback
-
setCurrentPlaybackTime
public void setCurrentPlaybackTime(double v)Deprecated.- Specified by:
setCurrentPlaybackTimein interfaceMPMediaPlayback
-
getCurrentPlaybackRate
public float getCurrentPlaybackRate()Deprecated.- Specified by:
getCurrentPlaybackRatein interfaceMPMediaPlayback
-
setCurrentPlaybackRate
public void setCurrentPlaybackRate(float v)Deprecated.- Specified by:
setCurrentPlaybackRatein interfaceMPMediaPlayback
-
playPrerollAd
Deprecated.- Since:
- Available in iOS 7.0 and later.
-
preparePrerollAds
public static void preparePrerollAds()Deprecated.- Since:
- Available in iOS 7.0 and later.
-
cancelPreroll
public void cancelPreroll()Deprecated.- Since:
- Available in iOS 8.0 and later.
-
IsPreparedToPlayDidChangeNotification
Deprecated.- Since:
- Available in iOS 3.2 and later.
-
ScalingModeDidChangeNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
PlaybackDidFinishNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
PlaybackDidFinishReasonUserInfoKey
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
PlaybackStateDidChangeNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
LoadStateDidChangeNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
NowPlayingMovieDidChangeNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
WillEnterFullscreenNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
DidEnterFullscreenNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
WillExitFullscreenNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
DidExitFullscreenNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
IsAirPlayVideoActiveDidChangeNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
ReadyForDisplayDidChangeNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit. -
MediaTypesAvailableNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
SourceTypeAvailableNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
DurationAvailableNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
NaturalSizeAvailableNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
ThumbnailImageRequestDidFinishNotification
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
TimedMetadataUpdatedNotification
Deprecated.Deprecated in iOS 9.0. Use AVFoundation. -
TimedMetadataUserInfoKey
Deprecated.Deprecated in iOS 9.0. Use AVFoundation. -
init
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
setFullscreen
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
getThumbnailImage
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
requestThumbnailImages
@Deprecated public void requestThumbnailImages(NSArray<NSNumber> playbackTimes, MPMovieTimeOption option)Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
cancelAllThumbnailImageRequests
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit -
prepareToPlay
public void prepareToPlay()Deprecated.- Specified by:
prepareToPlayin interfaceMPMediaPlayback
-
play
public void play()Deprecated.- Specified by:
playin interfaceMPMediaPlayback
-
pause
public void pause()Deprecated.- Specified by:
pausein interfaceMPMediaPlayback
-
stop
public void stop()Deprecated.- Specified by:
stopin interfaceMPMediaPlayback
-
beginSeekingForward
public void beginSeekingForward()Deprecated.- Specified by:
beginSeekingForwardin interfaceMPMediaPlayback
-
beginSeekingBackward
public void beginSeekingBackward()Deprecated.- Specified by:
beginSeekingBackwardin interfaceMPMediaPlayback
-
endSeeking
public void endSeeking()Deprecated.- Specified by:
endSeekingin interfaceMPMediaPlayback
-