Package apple.mediaplayer
Class MPMoviePlayerController
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.mediaplayer.MPMoviePlayerController
-
- All Implemented Interfaces:
MPMediaPlayback,NSObject
@Deprecated public class MPMoviePlayerController extends NSObject implements MPMediaPlayback
Deprecated.----------------------------------------------------------------------------- Movie Player See MPMediaPlayback.h for the playback methods. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMPMoviePlayerController(org.moe.natj.general.Pointer peer)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()Deprecated.MPMovieAccessLogaccessLog()Deprecated.static MPMoviePlayerControlleralloc()Deprecated.static MPMoviePlayerControllerallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)Deprecated.booleanallowsAirPlay()Deprecated.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)Deprecated.UIViewbackgroundView()Deprecated.voidbeginSeekingBackward()Deprecated.voidbeginSeekingForward()Deprecated.The seeking rate will increase the longer scanning is active.voidcancelAllThumbnailImageRequests()Deprecated.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)Deprecated.static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)Deprecated.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()Deprecated.static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()Deprecated.NSURLcontentURL()Deprecated.longcontrolStyle()Deprecated.floatcurrentPlaybackRate()Deprecated.The current playback rate of the now playing item.doublecurrentPlaybackTime()Deprecated.The current playback time of the now playing item in seconds.static java.lang.StringdebugDescription_static()Deprecated.static java.lang.Stringdescription_static()Deprecated.doubleduration()Deprecated.doubleendPlaybackTime()Deprecated.voidendSeeking()Deprecated.MPMovieErrorLogerrorLog()Deprecated.static longhash_static()Deprecated.MPMoviePlayerControllerinit()Deprecated.doubleinitialPlaybackTime()Deprecated.MPMoviePlayerControllerinitWithContentURL(NSURL url)Deprecated.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)Deprecated.static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)Deprecated.static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)Deprecated.booleanisAirPlayVideoActive()Deprecated.booleanisFullscreen()Deprecated.booleanisPreparedToPlay()Deprecated.Returns YES if prepared for playback.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)Deprecated.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)Deprecated.longloadState()Deprecated.longmovieMediaTypes()Deprecated.longmovieSourceType()Deprecated.CGSizenaturalSize()Deprecated.static MPMoviePlayerControllernew_objc()Deprecated.voidpause()Deprecated.Pauses playback if playing.voidplay()Deprecated.Plays items from the current queue, resuming paused playback if possible.doubleplayableDuration()Deprecated.longplaybackState()Deprecated.voidprepareToPlay()Deprecated.Prepares the current queue for playback, interrupting any active (non-mixible) audio sessions.booleanreadyForDisplay()Deprecated.Returns YES if the first video frame has been made ready for display for the current item.longrepeatMode()Deprecated.voidrequestThumbnailImagesAtTimesTimeOption(NSArray<?> playbackTimes, long option)Deprecated.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)Deprecated.static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)Deprecated.longscalingMode()Deprecated.voidsetAllowsAirPlay(boolean value)Deprecated.voidsetContentURL(NSURL value)Deprecated.voidsetControlStyle(long value)Deprecated.voidsetCurrentPlaybackRate(float value)Deprecated.The current playback rate of the now playing item.voidsetCurrentPlaybackTime(double value)Deprecated.The current playback time of the now playing item in seconds.voidsetEndPlaybackTime(double value)Deprecated.voidsetFullscreen(boolean value)Deprecated.voidsetFullscreenAnimated(boolean fullscreen, boolean animated)Deprecated.voidsetInitialPlaybackTime(double value)Deprecated.voidsetMovieSourceType(long value)Deprecated.voidsetRepeatMode(long value)Deprecated.voidsetScalingMode(long value)Deprecated.voidsetShouldAutoplay(boolean value)Deprecated.voidsetUseApplicationAudioSession(boolean value)Deprecated.static voidsetVersion_static(long aVersion)Deprecated.booleanshouldAutoplay()Deprecated.voidstop()Deprecated.Ends playback.static org.moe.natj.objc.Classsuperclass_static()Deprecated.UIImagethumbnailImageAtTimeTimeOption(double playbackTime, long option)Deprecated.NSArray<?>timedMetadata()Deprecated.booleanuseApplicationAudioSession()Deprecated.static booleanuseStoredAccessor()Deprecated.static longversion_static()Deprecated.UIViewview()Deprecated.-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
Deprecated.
-
alloc
public static MPMoviePlayerController alloc()
Deprecated.
-
allocWithZone
public static MPMoviePlayerController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
Deprecated.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)Deprecated.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)Deprecated.
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)Deprecated.
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
Deprecated.
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
Deprecated.
-
debugDescription_static
public static java.lang.String debugDescription_static()
Deprecated.
-
description_static
public static java.lang.String description_static()
Deprecated.
-
hash_static
public static long hash_static()
Deprecated.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
Deprecated.
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
Deprecated.
-
new_objc
public static MPMoviePlayerController new_objc()
Deprecated.
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
Deprecated.
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
Deprecated.
-
setVersion_static
public static void setVersion_static(long aVersion)
Deprecated.
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
Deprecated.
-
version_static
public static long version_static()
Deprecated.
-
accessLog
@Deprecated public MPMovieAccessLog accessLog()
Deprecated.Returns an object that represents a snapshot of the network access log. Can be nil. API-Since: 4.3 Deprecated-Since: 9.0 Deprecated-Message: Use AVFoundation.
-
allowsAirPlay
@Deprecated public boolean allowsAirPlay()
Deprecated.Indicates whether the movie player allows AirPlay video playback. Defaults to YES on iOS 5.0 and later. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
backgroundView
@Deprecated public UIView backgroundView()
Deprecated.A view for customization which is always displayed behind movie content. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
beginSeekingBackward
public void beginSeekingBackward()
Deprecated.- Specified by:
beginSeekingBackwardin interfaceMPMediaPlayback
-
beginSeekingForward
public void beginSeekingForward()
Deprecated.Description copied from interface:MPMediaPlaybackThe seeking rate will increase the longer scanning is active.- Specified by:
beginSeekingForwardin interfaceMPMediaPlayback
-
cancelAllThumbnailImageRequests
@Deprecated public void cancelAllThumbnailImageRequests()
Deprecated.Cancels all pending asynchronous thumbnail requests. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
contentURL
@Deprecated public NSURL contentURL()
Deprecated.API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
controlStyle
@Deprecated public long controlStyle()
Deprecated.The style of the playback controls. Defaults to MPMovieControlStyleDefault. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
currentPlaybackRate
public float currentPlaybackRate()
Deprecated.Description copied from interface:MPMediaPlaybackThe current playback rate of the now playing item. Default is 1.0 (normal speed). Pausing will set the rate to 0.0. Setting the rate to non-zero implies playing.- Specified by:
currentPlaybackRatein interfaceMPMediaPlayback
-
currentPlaybackTime
public double currentPlaybackTime()
Deprecated.Description copied from interface:MPMediaPlaybackThe current playback time of the now playing item in seconds.- Specified by:
currentPlaybackTimein interfaceMPMediaPlayback
-
duration
@Deprecated public double duration()
Deprecated.The duration of the movie, or 0.0 if not known. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
endPlaybackTime
@Deprecated public double endPlaybackTime()
Deprecated.The end time of movie playback. Defaults to NaN, which indicates natural end time of the movie. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
endSeeking
public void endSeeking()
Deprecated.- Specified by:
endSeekingin interfaceMPMediaPlayback
-
errorLog
@Deprecated public MPMovieErrorLog errorLog()
Deprecated.Returns an object that represents a snapshot of the error log. Can be nil. API-Since: 4.3 Deprecated-Since: 9.0 Deprecated-Message: Use AVFoundation.
-
init
public MPMoviePlayerController init()
Deprecated.
-
initWithContentURL
@Deprecated public MPMoviePlayerController initWithContentURL(NSURL url)
Deprecated.API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
initialPlaybackTime
@Deprecated public double initialPlaybackTime()
Deprecated.The start time of movie playback. Defaults to NaN, indicating the natural start time of the movie. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
isAirPlayVideoActive
@Deprecated public boolean isAirPlayVideoActive()
Deprecated.Indicates whether the movie player is currently playing video via AirPlay. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
isFullscreen
@Deprecated public boolean isFullscreen()
Deprecated.Determines if the movie is presented in the entire screen (obscuring all other application content). Default is NO. Setting this property to YES before the movie player's view is visible will have no effect. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setFullscreen
@Deprecated public void setFullscreen(boolean value)
Deprecated.Determines if the movie is presented in the entire screen (obscuring all other application content). Default is NO. Setting this property to YES before the movie player's view is visible will have no effect. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
isPreparedToPlay
public boolean isPreparedToPlay()
Deprecated.Description copied from interface:MPMediaPlaybackReturns YES if prepared for playback.- Specified by:
isPreparedToPlayin interfaceMPMediaPlayback
-
loadState
@Deprecated public long loadState()
Deprecated.Returns the network load state of the movie player. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
movieMediaTypes
@Deprecated public long movieMediaTypes()
Deprecated.The types of media in the movie, or MPMovieMediaTypeNone if not known. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
movieSourceType
@Deprecated public long movieSourceType()
Deprecated.The playback type of the movie. Defaults to MPMovieSourceTypeUnknown. Specifying a playback type before playing the movie can result in faster load times. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
naturalSize
@Deprecated public CGSize naturalSize()
Deprecated.The natural size of the movie, or CGSizeZero if not known/applicable. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
pause
public void pause()
Deprecated.Description copied from interface:MPMediaPlaybackPauses playback if playing.- Specified by:
pausein interfaceMPMediaPlayback
-
play
public void play()
Deprecated.Description copied from interface:MPMediaPlaybackPlays items from the current queue, resuming paused playback if possible.- Specified by:
playin interfaceMPMediaPlayback
-
playableDuration
@Deprecated public double playableDuration()
Deprecated.The currently playable duration of the movie, for progressively downloaded network content. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
playbackState
@Deprecated public long playbackState()
Deprecated.Returns the current playback state of the movie player. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
prepareToPlay
public void prepareToPlay()
Deprecated.Description copied from interface:MPMediaPlaybackPrepares the current queue for playback, interrupting any active (non-mixible) audio sessions. Automatically invoked when -play is called if the player is not already prepared.- Specified by:
prepareToPlayin interfaceMPMediaPlayback
-
readyForDisplay
public boolean readyForDisplay()
Deprecated.Returns YES if the first video frame has been made ready for display for the current item. Will remain NO for items that do not have video tracks associated. API-Since: 6.0
-
repeatMode
@Deprecated public long repeatMode()
Deprecated.Determines how the movie player repeats when reaching the end of playback. Defaults to MPMovieRepeatModeNone. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
requestThumbnailImagesAtTimesTimeOption
@Deprecated public void requestThumbnailImagesAtTimesTimeOption(NSArray<?> playbackTimes, long option)
Deprecated.Asynchronously request thumbnails for one or more times, provided as an array of NSNumbers (double). Posts MPMoviePlayerThumbnailImageRequestDidFinishNotification on completion. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
scalingMode
@Deprecated public long scalingMode()
Deprecated.Determines how the content scales to fit the view. Defaults to MPMovieScalingModeAspectFit. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setAllowsAirPlay
@Deprecated public void setAllowsAirPlay(boolean value)
Deprecated.Indicates whether the movie player allows AirPlay video playback. Defaults to YES on iOS 5.0 and later. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setContentURL
@Deprecated public void setContentURL(NSURL value)
Deprecated.API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setControlStyle
@Deprecated public void setControlStyle(long value)
Deprecated.The style of the playback controls. Defaults to MPMovieControlStyleDefault. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setCurrentPlaybackRate
public void setCurrentPlaybackRate(float value)
Deprecated.Description copied from interface:MPMediaPlaybackThe current playback rate of the now playing item. Default is 1.0 (normal speed). Pausing will set the rate to 0.0. Setting the rate to non-zero implies playing.- Specified by:
setCurrentPlaybackRatein interfaceMPMediaPlayback
-
setCurrentPlaybackTime
public void setCurrentPlaybackTime(double value)
Deprecated.Description copied from interface:MPMediaPlaybackThe current playback time of the now playing item in seconds.- Specified by:
setCurrentPlaybackTimein interfaceMPMediaPlayback
-
setEndPlaybackTime
@Deprecated public void setEndPlaybackTime(double value)
Deprecated.The end time of movie playback. Defaults to NaN, which indicates natural end time of the movie. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setFullscreenAnimated
@Deprecated public void setFullscreenAnimated(boolean fullscreen, boolean animated)Deprecated.API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setInitialPlaybackTime
@Deprecated public void setInitialPlaybackTime(double value)
Deprecated.The start time of movie playback. Defaults to NaN, indicating the natural start time of the movie. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setMovieSourceType
@Deprecated public void setMovieSourceType(long value)
Deprecated.The playback type of the movie. Defaults to MPMovieSourceTypeUnknown. Specifying a playback type before playing the movie can result in faster load times. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setRepeatMode
@Deprecated public void setRepeatMode(long value)
Deprecated.Determines how the movie player repeats when reaching the end of playback. Defaults to MPMovieRepeatModeNone. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setScalingMode
@Deprecated public void setScalingMode(long value)
Deprecated.Determines how the content scales to fit the view. Defaults to MPMovieScalingModeAspectFit. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setShouldAutoplay
@Deprecated public void setShouldAutoplay(boolean value)
Deprecated.Indicates if a movie should automatically start playback when it is likely to finish uninterrupted based on e.g. network conditions. Defaults to YES. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
setUseApplicationAudioSession
@Deprecated public void setUseApplicationAudioSession(boolean value)
Deprecated.Indicates if the movie player should inherit the application's audio session instead of creating a new session (which would interrupt the application's session). Defaults to YES. Setting this property during playback will not take effect until playback is stopped and started again. API-Since: 6.0 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit.
-
shouldAutoplay
@Deprecated public boolean shouldAutoplay()
Deprecated.Indicates if a movie should automatically start playback when it is likely to finish uninterrupted based on e.g. network conditions. Defaults to YES. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
stop
public void stop()
Deprecated.Description copied from interface:MPMediaPlaybackEnds playback. Calling -play again will start from the beginnning of the queue.- Specified by:
stopin interfaceMPMediaPlayback
-
thumbnailImageAtTimeTimeOption
@Deprecated public UIImage thumbnailImageAtTimeTimeOption(double playbackTime, long option)
Deprecated.Returns a thumbnail at the given time. Deprecated. Use -requestThumbnailImagesAtTimes:timeOption: / MPMoviePlayerThumbnailImageRequestDidFinishNotification instead. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
timedMetadata
@Deprecated public NSArray<?> timedMetadata()
Deprecated.Returns an array of the most recent MPTimedMetadata objects provided by the media stream. API-Since: 4.0 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit.
-
useApplicationAudioSession
@Deprecated public boolean useApplicationAudioSession()
Deprecated.Indicates if the movie player should inherit the application's audio session instead of creating a new session (which would interrupt the application's session). Defaults to YES. Setting this property during playback will not take effect until playback is stopped and started again. API-Since: 6.0 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit.
-
view
@Deprecated public UIView view()
Deprecated.The view in which the media and playback controls are displayed. API-Since: 3.2 Deprecated-Since: 9.0 Deprecated-Message: Use AVPlayerViewController in AVKit
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-