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
,org.robovm.objc.ObjCProtocol
@Deprecated public class MPMoviePlayerController extends NSObject implements MPMediaPlayback
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPMoviePlayerController.MPMoviePlayerControllerPtr
Deprecated.static class
MPMoviePlayerController.Notifications
Deprecated.-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MPMoviePlayerController()
Deprecated.protected
MPMoviePlayerController(NSObject.Handle h, long handle)
Deprecated.protected
MPMoviePlayerController(NSObject.SkipInit skipInit)
Deprecated.MPMoviePlayerController(NSURL url)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
allowsAirPlay()
Deprecated.void
beginSeekingBackward()
Deprecated.void
beginSeekingForward()
Deprecated.void
cancelAllThumbnailImageRequests()
Deprecated.Deprecated in iOS 9.0.void
cancelPreroll()
Deprecated.static NSString
DidEnterFullscreenNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
DidExitFullscreenNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
DurationAvailableNotification()
Deprecated.Deprecated in iOS 9.0.void
endSeeking()
Deprecated.MPMovieAccessLog
getAccessLog()
Deprecated.Deprecated in iOS 9.0.UIView
getBackgroundView()
Deprecated.NSURL
getContentURL()
Deprecated.MPMovieControlStyle
getControlStyle()
Deprecated.float
getCurrentPlaybackRate()
Deprecated.double
getCurrentPlaybackTime()
Deprecated.double
getDuration()
Deprecated.double
getEndPlaybackTime()
Deprecated.MPMovieErrorLog
getErrorLog()
Deprecated.Deprecated in iOS 9.0.double
getInitialPlaybackTime()
Deprecated.MPMovieLoadState
getLoadState()
Deprecated.MPMovieMediaTypeMask
getMovieMediaTypes()
Deprecated.MPMovieSourceType
getMovieSourceType()
Deprecated.CGSize
getNaturalSize()
Deprecated.double
getPlayableDuration()
Deprecated.MPMoviePlaybackState
getPlaybackState()
Deprecated.MPMovieRepeatMode
getRepeatMode()
Deprecated.MPMovieScalingMode
getScalingMode()
Deprecated.UIImage
getThumbnailImage(double playbackTime, MPMovieTimeOption option)
Deprecated.Deprecated in iOS 9.0.NSArray<MPTimedMetadata>
getTimedMetadata()
Deprecated.Deprecated in iOS 9.0.UIView
getView()
Deprecated.protected long
init(NSURL url)
Deprecated.boolean
isAirPlayVideoActive()
Deprecated.static NSString
IsAirPlayVideoActiveDidChangeNotification()
Deprecated.Deprecated in iOS 9.0.boolean
isFullscreen()
Deprecated.boolean
isPreparedToPlay()
Deprecated.static NSString
IsPreparedToPlayDidChangeNotification()
Deprecated.boolean
isReadyForDisplay()
Deprecated.static NSString
LoadStateDidChangeNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
MediaTypesAvailableNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
NaturalSizeAvailableNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
NowPlayingMovieDidChangeNotification()
Deprecated.Deprecated in iOS 9.0.void
pause()
Deprecated.void
play()
Deprecated.static NSString
PlaybackDidFinishNotification()
Deprecated.Deprecated in iOS 9.0.protected static NSString
PlaybackDidFinishReasonUserInfoKey()
Deprecated.Deprecated in iOS 9.0.static NSString
PlaybackStateDidChangeNotification()
Deprecated.Deprecated in iOS 9.0.void
playPrerollAd(org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
Deprecated.static void
preparePrerollAds()
Deprecated.void
prepareToPlay()
Deprecated.static NSString
ReadyForDisplayDidChangeNotification()
Deprecated.Deprecated in iOS 9.0.void
requestThumbnailImages(NSArray<NSNumber> playbackTimes, MPMovieTimeOption option)
Deprecated.Deprecated in iOS 9.0.static NSString
ScalingModeDidChangeNotification()
Deprecated.Deprecated in iOS 9.0.void
setAllowsAirPlay(boolean v)
Deprecated.void
setContentURL(NSURL v)
Deprecated.void
setControlStyle(MPMovieControlStyle v)
Deprecated.void
setCurrentPlaybackRate(float v)
Deprecated.void
setCurrentPlaybackTime(double v)
Deprecated.void
setEndPlaybackTime(double v)
Deprecated.void
setFullscreen(boolean v)
Deprecated.void
setFullscreen(boolean fullscreen, boolean animated)
Deprecated.void
setInitialPlaybackTime(double v)
Deprecated.void
setMovieSourceType(MPMovieSourceType v)
Deprecated.void
setRepeatMode(MPMovieRepeatMode v)
Deprecated.void
setScalingMode(MPMovieScalingMode v)
Deprecated.void
setShouldAutoplay(boolean v)
Deprecated.void
setUsesApplicationAudioSession(boolean v)
Deprecated.Deprecated in iOS 9.0.boolean
shouldAutoplay()
Deprecated.static NSString
SourceTypeAvailableNotification()
Deprecated.Deprecated in iOS 9.0.void
stop()
Deprecated.static NSString
ThumbnailImageRequestDidFinishNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
TimedMetadataUpdatedNotification()
Deprecated.Deprecated in iOS 9.0.protected static NSString
TimedMetadataUserInfoKey()
Deprecated.Deprecated in iOS 9.0.boolean
usesApplicationAudioSession()
Deprecated.Deprecated in iOS 9.0.static NSString
WillEnterFullscreenNotification()
Deprecated.Deprecated in iOS 9.0.static NSString
WillExitFullscreenNotification()
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, willChangeValues
-
-
-
-
Constructor Detail
-
MPMoviePlayerController
public MPMoviePlayerController()
Deprecated.
-
MPMoviePlayerController
protected MPMoviePlayerController(NSObject.Handle h, long handle)
Deprecated.
-
MPMoviePlayerController
protected MPMoviePlayerController(NSObject.SkipInit skipInit)
Deprecated.
-
MPMoviePlayerController
public MPMoviePlayerController(NSURL url)
Deprecated.
-
-
Method Detail
-
getContentURL
public NSURL getContentURL()
Deprecated.
-
setContentURL
public void setContentURL(NSURL v)
Deprecated.
-
getView
public UIView getView()
Deprecated.
-
getBackgroundView
public UIView getBackgroundView()
Deprecated.
-
getPlaybackState
public MPMoviePlaybackState getPlaybackState()
Deprecated.
-
getLoadState
public MPMovieLoadState getLoadState()
Deprecated.
-
getControlStyle
public MPMovieControlStyle getControlStyle()
Deprecated.
-
setControlStyle
public void setControlStyle(MPMovieControlStyle v)
Deprecated.
-
getRepeatMode
public MPMovieRepeatMode getRepeatMode()
Deprecated.
-
setRepeatMode
public void setRepeatMode(MPMovieRepeatMode v)
Deprecated.
-
shouldAutoplay
public boolean shouldAutoplay()
Deprecated.
-
setShouldAutoplay
public void setShouldAutoplay(boolean v)
Deprecated.
-
isFullscreen
public boolean isFullscreen()
Deprecated.
-
setFullscreen
public void setFullscreen(boolean v)
Deprecated.
-
getScalingMode
public MPMovieScalingMode getScalingMode()
Deprecated.
-
setScalingMode
public void setScalingMode(MPMovieScalingMode v)
Deprecated.
-
isReadyForDisplay
public boolean isReadyForDisplay()
Deprecated.- Since:
- Available in iOS 6.0 and later.
-
getMovieMediaTypes
public MPMovieMediaTypeMask getMovieMediaTypes()
Deprecated.
-
getMovieSourceType
public MPMovieSourceType getMovieSourceType()
Deprecated.
-
setMovieSourceType
public void setMovieSourceType(MPMovieSourceType v)
Deprecated.
-
getDuration
public double getDuration()
Deprecated.
-
getPlayableDuration
public double getPlayableDuration()
Deprecated.
-
getNaturalSize
public CGSize getNaturalSize()
Deprecated.
-
getInitialPlaybackTime
public double getInitialPlaybackTime()
Deprecated.
-
setInitialPlaybackTime
public void setInitialPlaybackTime(double v)
Deprecated.
-
getEndPlaybackTime
public double getEndPlaybackTime()
Deprecated.
-
setEndPlaybackTime
public void setEndPlaybackTime(double v)
Deprecated.
-
allowsAirPlay
public boolean allowsAirPlay()
Deprecated.
-
setAllowsAirPlay
public void setAllowsAirPlay(boolean v)
Deprecated.
-
isAirPlayVideoActive
public boolean isAirPlayVideoActive()
Deprecated.
-
getTimedMetadata
@Deprecated public NSArray<MPTimedMetadata> getTimedMetadata()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 4.0 and later.
-
getAccessLog
@Deprecated public MPMovieAccessLog getAccessLog()
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 4.3 and later.
-
getErrorLog
@Deprecated public MPMovieErrorLog getErrorLog()
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 4.3 and later.
-
usesApplicationAudioSession
@Deprecated public boolean usesApplicationAudioSession()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 6.0 and later.
-
setUsesApplicationAudioSession
@Deprecated public void setUsesApplicationAudioSession(boolean v)
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 6.0 and later.
-
isPreparedToPlay
public boolean isPreparedToPlay()
Deprecated.- Specified by:
isPreparedToPlay
in interfaceMPMediaPlayback
-
getCurrentPlaybackTime
public double getCurrentPlaybackTime()
Deprecated.- Specified by:
getCurrentPlaybackTime
in interfaceMPMediaPlayback
-
setCurrentPlaybackTime
public void setCurrentPlaybackTime(double v)
Deprecated.- Specified by:
setCurrentPlaybackTime
in interfaceMPMediaPlayback
-
getCurrentPlaybackRate
public float getCurrentPlaybackRate()
Deprecated.- Specified by:
getCurrentPlaybackRate
in interfaceMPMediaPlayback
-
setCurrentPlaybackRate
public void setCurrentPlaybackRate(float v)
Deprecated.- Specified by:
setCurrentPlaybackRate
in interfaceMPMediaPlayback
-
playPrerollAd
public void playPrerollAd(org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
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
public static NSString IsPreparedToPlayDidChangeNotification()
Deprecated.- Since:
- Available in iOS 3.2 and later.
-
ScalingModeDidChangeNotification
@Deprecated public static NSString ScalingModeDidChangeNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 2.0 and later.
-
PlaybackDidFinishNotification
@Deprecated public static NSString PlaybackDidFinishNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 2.0 and later.
-
PlaybackDidFinishReasonUserInfoKey
@Deprecated protected static NSString PlaybackDidFinishReasonUserInfoKey()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
PlaybackStateDidChangeNotification
@Deprecated public static NSString PlaybackStateDidChangeNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
LoadStateDidChangeNotification
@Deprecated public static NSString LoadStateDidChangeNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
NowPlayingMovieDidChangeNotification
@Deprecated public static NSString NowPlayingMovieDidChangeNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
WillEnterFullscreenNotification
@Deprecated public static NSString WillEnterFullscreenNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
DidEnterFullscreenNotification
@Deprecated public static NSString DidEnterFullscreenNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
WillExitFullscreenNotification
@Deprecated public static NSString WillExitFullscreenNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
DidExitFullscreenNotification
@Deprecated public static NSString DidExitFullscreenNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
IsAirPlayVideoActiveDidChangeNotification
@Deprecated public static NSString IsAirPlayVideoActiveDidChangeNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 5.0 and later.
-
ReadyForDisplayDidChangeNotification
@Deprecated public static NSString ReadyForDisplayDidChangeNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 6.0 and later.
-
MediaTypesAvailableNotification
@Deprecated public static NSString MediaTypesAvailableNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
SourceTypeAvailableNotification
@Deprecated public static NSString SourceTypeAvailableNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
DurationAvailableNotification
@Deprecated public static NSString DurationAvailableNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
NaturalSizeAvailableNotification
@Deprecated public static NSString NaturalSizeAvailableNotification()
Deprecated.Deprecated in iOS 9.0. Use AVPlayerViewController in AVKit.- Since:
- Available in iOS 3.2 and later.
-
ThumbnailImageRequestDidFinishNotification
@Deprecated public static NSString ThumbnailImageRequestDidFinishNotification()
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 3.2 and later.
-
TimedMetadataUpdatedNotification
@Deprecated public static NSString TimedMetadataUpdatedNotification()
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 4.0 and later.
-
TimedMetadataUserInfoKey
@Deprecated protected static NSString TimedMetadataUserInfoKey()
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 4.0 and later.
-
init
protected long init(NSURL url)
Deprecated.
-
setFullscreen
public void setFullscreen(boolean fullscreen, boolean animated)
Deprecated.
-
getThumbnailImage
@Deprecated public UIImage getThumbnailImage(double playbackTime, MPMovieTimeOption option)
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 3.2 and later.
-
requestThumbnailImages
@Deprecated public void requestThumbnailImages(NSArray<NSNumber> playbackTimes, MPMovieTimeOption option)
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 3.2 and later.
-
cancelAllThumbnailImageRequests
@Deprecated public void cancelAllThumbnailImageRequests()
Deprecated.Deprecated in iOS 9.0. Use AVFoundation.- Since:
- Available in iOS 3.2 and later.
-
prepareToPlay
public void prepareToPlay()
Deprecated.- Specified by:
prepareToPlay
in interfaceMPMediaPlayback
-
play
public void play()
Deprecated.- Specified by:
play
in interfaceMPMediaPlayback
-
pause
public void pause()
Deprecated.- Specified by:
pause
in interfaceMPMediaPlayback
-
stop
public void stop()
Deprecated.- Specified by:
stop
in interfaceMPMediaPlayback
-
beginSeekingForward
public void beginSeekingForward()
Deprecated.- Specified by:
beginSeekingForward
in interfaceMPMediaPlayback
-
beginSeekingBackward
public void beginSeekingBackward()
Deprecated.- Specified by:
beginSeekingBackward
in interfaceMPMediaPlayback
-
endSeeking
public void endSeeking()
Deprecated.- Specified by:
endSeeking
in interfaceMPMediaPlayback
-
-