Package apple.avkit
Class AVPlayerViewController
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIViewController
-
- apple.avkit.AVPlayerViewController
-
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObject,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIStateRestoring,UITraitChangeObservable,UITraitEnvironment,UIUserActivityRestoring
public class AVPlayerViewController extends UIViewController
AVPlayerViewController AVPlayerViewController is a subclass of UIViewController that can be used to display the visual content of an AVPlayer object and the standard playback controls. API-Since: 8.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.uikit.UIViewController
UIViewController.Block_dismissViewControllerAnimatedCompletion, UIViewController.Block_presentViewControllerAnimatedCompletion, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_4, UIViewController.Block_transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion_5
-
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
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UITraitChangeObservable
UITraitChangeObservable.Block_registerForTraitChangesWithHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAVPlayerViewController(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static AVPlayerViewControlleralloc()static AVPlayerViewControllerallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanallowsPictureInPicturePlayback()[@property] allowsPictureInPicturePlayback Whether or not the receiver allows Picture in Picture playback.booleanallowsVideoFrameAnalysis()[@property] allowsVideoFrameAnalysis When set to YES, the AVPlayerViewController will try to find objects, text and people while the media is paused.static voidattemptRotationToDeviceOrientation()Deprecated.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)booleancanStartPictureInPictureAutomaticallyFromInline()[@property] canStartPictureInPictureAutomaticallyFromInline Indicates whether Picture in Picture should be allowed to start automatically when transitioning to background when the receiver’s content is embedded inline.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)@Nullable UIViewcontentOverlayView()[@property] contentOverlayView Use the content overlay view to add additional custom views between the video content and the controls.static java.lang.StringdebugDescription_static()@Nullable AVPlayerViewControllerDelegatedelegate()[@property] delegate The receiver's delegate.static java.lang.Stringdescription_static()booleanentersFullScreenWhenPlaybackBegins()[@property] entersFullScreenWhenPlaybackBegins Whether or not the receiver automatically enters full screen when the play button is tapped.booleanexitsFullScreenWhenPlaybackEnds()[@property] exitsFullScreenWhenPlaybackEnds Whether or not the receiver automatically exits full screen when playback ends.static longhash_static()AVPlayerViewControllerinit()AVPlayerViewControllerinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERAVPlayerViewControllerinitWithNibNameBundle(@Nullable java.lang.String nibNameOrNil, @Nullable NSBundle nibBundleOrNil)The designated initializer.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisReadyForDisplay()[@property] readyForDisplay Boolean indicating that the first video frame has been made ready for display for the current item of the associated AVPlayer.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static AVPlayerViewControllernew_objc()@Nullable NSDictionary<java.lang.String,?>pixelBufferAttributes()[@property] pixelBufferAttributes The client requirements for the visual output during playback.@Nullable AVPlayerplayer()[@property] player The player from which to source the media content for the view controller.booleanrequiresLinearPlayback()[@property] requiresLinearPlayback Disables certain user operations, such as scanning, skipping, and scrubbing.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable AVPlaybackSpeedselectedSpeed()[@property] selectedSpeed The currently selected playback speed.voidselectSpeed(@NotNull AVPlaybackSpeed speed)[@property] selectSpeed Sets the input AVPlaybackSpeed as the selected speed.voidsetAllowsPictureInPicturePlayback(boolean value)[@property] allowsPictureInPicturePlayback Whether or not the receiver allows Picture in Picture playback.voidsetAllowsVideoFrameAnalysis(boolean value)[@property] allowsVideoFrameAnalysis When set to YES, the AVPlayerViewController will try to find objects, text and people while the media is paused.voidsetCanStartPictureInPictureAutomaticallyFromInline(boolean value)[@property] canStartPictureInPictureAutomaticallyFromInline Indicates whether Picture in Picture should be allowed to start automatically when transitioning to background when the receiver’s content is embedded inline.voidsetDelegate(@Nullable AVPlayerViewControllerDelegate value)[@property] delegate The receiver's delegate.voidsetDelegate_unsafe(@Nullable AVPlayerViewControllerDelegate value)[@property] delegate The receiver's delegate.voidsetEntersFullScreenWhenPlaybackBegins(boolean value)[@property] entersFullScreenWhenPlaybackBegins Whether or not the receiver automatically enters full screen when the play button is tapped.voidsetExitsFullScreenWhenPlaybackEnds(boolean value)[@property] exitsFullScreenWhenPlaybackEnds Whether or not the receiver automatically exits full screen when playback ends.voidsetPixelBufferAttributes(@Nullable NSDictionary<java.lang.String,?> value)[@property] pixelBufferAttributes The client requirements for the visual output during playback.voidsetPlayer(@Nullable AVPlayer value)[@property] player The player from which to source the media content for the view controller.voidsetRequiresLinearPlayback(boolean value)[@property] requiresLinearPlayback Disables certain user operations, such as scanning, skipping, and scrubbing.voidsetShowsPlaybackControls(boolean value)[@property] showsPlaybackControls Whether or not the receiver shows playback controls.voidsetShowsTimecodes(boolean value)[@property] showsTimecodes Controls whether timecodes can be displayed in the playback UI when playing media with embedded timecodes.voidsetSpeeds(@NotNull NSArray<? extends AVPlaybackSpeed> value)[@property] speeds A list of user selectable playback speeds to be shown in the playback speed control.voidsetUpdatesNowPlayingInfoCenter(boolean value)[@property] updatesNowPlayingInfoCenter Whether or not the now playing info center should be updated.static voidsetVersion_static(long aVersion)voidsetVideoFrameAnalysisTypes(long value)[@property] videoFrameAnalysisTypes The types of analysis AVPlayerViewController will perform on a paused video frame.voidsetVideoGravity(@NotNull java.lang.String value)[@property] videoGravity A string defining how the video is displayed within an AVPlayerLayer bounds rect.booleanshowsPlaybackControls()[@property] showsPlaybackControls Whether or not the receiver shows playback controls.booleanshowsTimecodes()[@property] showsTimecodes Controls whether timecodes can be displayed in the playback UI when playing media with embedded timecodes.@NotNull NSArray<? extends AVPlaybackSpeed>speeds()[@property] speeds A list of user selectable playback speeds to be shown in the playback speed control.static org.moe.natj.objc.Classsuperclass_static()@NotNull UIActiontoggleLookupAction()[@property] toggleLookupAction A UIAction used for enabling the visual lookup interface.booleanupdatesNowPlayingInfoCenter()[@property] updatesNowPlayingInfoCenter Whether or not the now playing info center should be updated.static booleanuseStoredAccessor()Deprecated.static longversion_static()CGRectvideoBounds()[@property] videoBounds The current size and position of the video image as displayed within the receiver's view's bounds.longvideoFrameAnalysisTypes()[@property] videoFrameAnalysisTypes The types of analysis AVPlayerViewController will perform on a paused video frame.@NotNull java.lang.StringvideoGravity()[@property] videoGravity A string defining how the video is displayed within an AVPlayerLayer bounds rect.-
Methods inherited from class apple.uikit.UIViewController
activePresentationController, addChildViewController, additionalSafeAreaInsets, addKeyCommand, allowedChildViewControllersForUnwindingFromSource, applicationFinishedRestoringState, automaticallyAdjustsScrollViewInsets, automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers, beginAppearanceTransitionAnimated, beginRequestWithExtensionContext, bottomLayoutGuide, canPerformUnwindSegueActionFromViewControllerSender, canPerformUnwindSegueActionFromViewControllerWithSender, childViewControllerContainingSegueSource, childViewControllerForHomeIndicatorAutoHidden, childViewControllerForPointerLock, childViewControllerForScreenEdgesDeferringSystemGestures, childViewControllerForStatusBarHidden, childViewControllerForStatusBarStyle, childViewControllers, collapseSecondaryViewControllerForSplitViewController, contentScrollViewForEdge, contentSizeForViewInPopover, contentUnavailableConfiguration, contentUnavailableConfigurationState, decodeRestorableStateWithCoder, definesPresentationContext, didAnimateFirstHalfOfRotationToInterfaceOrientation, didMoveToParentViewController, didReceiveMemoryWarning, didRotateFromInterfaceOrientation, didUpdateFocusInContextWithAnimationCoordinator, disablesAutomaticKeyboardDismissal, dismissModalViewControllerAnimated, dismissMoviePlayerViewControllerAnimated, dismissViewControllerAnimatedCompletion, edgesForExtendedLayout, editButtonItem, encodeRestorableStateWithCoder, encodeWithCoder, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, extensionContext, focusGroupIdentifier, focusItemContainer, hidesBottomBarWhenPushed, interactionActivityTrackingBaseName, interfaceOrientation, isBeingDismissed, isBeingPresented, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isViewLoaded, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, modalPresentationStyle, modalTransitionStyle, modalViewController, navigationController, navigationItem, nibBundle, nibName, objectRestorationClass, overrideTraitCollectionForChildViewController, overrideUserInterfaceStyle, parentFocusEnvironment, parentViewController, performsActionsWhilePresentingModally, performSegueWithIdentifierSender, popoverPresentationController, preferredContentSize, preferredContentSizeDidChangeForChildContentContainer, preferredFocusedView, preferredFocusEnvironments, preferredInterfaceOrientationForPresentation, preferredScreenEdgesDeferringSystemGestures, preferredStatusBarStyle, preferredStatusBarUpdateAnimation, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegueSender, presentationController, presentedViewController, presentingViewController, presentModalViewControllerAnimated, presentMoviePlayerViewControllerAnimated, presentViewControllerAnimatedCompletion, previewActionItems, providesPresentationContextTransitionStyle, registerForPreviewingWithDelegateSourceView, registerForTraitChangesWithAction, registerForTraitChangesWithHandler, registerForTraitChangesWithTargetAction, removeFromParentViewController, removeKeyCommand, restorationClass, restorationIdentifier, restorationParent, restoresFocusAfterTransition, rotatingFooterView, rotatingHeaderView, searchDisplayController, segueForUnwindingToViewControllerFromViewControllerIdentifier, separateSecondaryViewControllerForSplitViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setContentScrollViewForEdge, setContentSizeForViewInPopover, setContentUnavailableConfiguration, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditingAnimated, setExtendedLayoutIncludesOpaqueBars, setFocusGroupIdentifier, setHidesBottomBarWhenPushed, setInteractionActivityTrackingBaseName, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateContentUnavailableConfiguration, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setNeedsUpdateOfSupportedInterfaceOrientations, setOverrideTraitCollectionForChildViewController, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationClass_unsafe, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItemsAnimated, setTransitioningDelegate, setTransitioningDelegate_unsafe, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, sheetPresentationController, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldAutorotateToInterfaceOrientation, shouldPerformSegueWithIdentifierSender, shouldUpdateFocusInContext, showDetailViewControllerSender, showViewControllerSender, sizeForChildContentContainerWithParentContainerSize, splitViewController, storyboard, supportedInterfaceOrientations, systemLayoutFittingSizeDidChangeForChildContentContainer, systemMinimumLayoutMargins, tabBarController, tabBarItem, targetViewControllerForActionSender, title, toolbarItems, topLayoutGuide, traitCollection, traitCollectionDidChange, traitOverrides, transitionCoordinator, transitionFromViewControllerToViewControllerDurationOptionsAnimationsCompletion, transitioningDelegate, unregisterForPreviewingWithContext, unregisterForTraitChanges, unwindForSegueTowardsViewController, updateContentUnavailableConfigurationUsingState, updateFocusIfNeeded, updateTraitsIfNeeded, updateViewConstraints, view, viewControllerForUnwindSegueActionFromViewControllerWithSender, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewDidUnload, viewIfLoaded, viewIsAppearing, viewLayoutMarginsDidChange, viewRespectsSystemMinimumLayoutMargins, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSizeWithTransitionCoordinator, viewWillUnload, wantsFullScreenLayout, willAnimateFirstHalfOfRotationToInterfaceOrientationDuration, willAnimateRotationToInterfaceOrientationDuration, willAnimateSecondHalfOfRotationFromInterfaceOrientationDuration, willMoveToParentViewController, willRotateToInterfaceOrientationDuration, willTransitionToTraitCollectionWithTransitionCoordinator
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
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()
-
alloc
public static AVPlayerViewController alloc()
-
allocWithZone
public static AVPlayerViewController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
attemptRotationToDeviceOrientation
@Deprecated public static void attemptRotationToDeviceOrientation()
Deprecated.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
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)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static AVPlayerViewController new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
allowsPictureInPicturePlayback
public boolean allowsPictureInPicturePlayback()
[@property] allowsPictureInPicturePlayback Whether or not the receiver allows Picture in Picture playback. Default is YES. API-Since: 9.0
-
contentOverlayView
@Nullable public @Nullable UIView contentOverlayView()
[@property] contentOverlayView Use the content overlay view to add additional custom views between the video content and the controls.
-
delegate
@Nullable public @Nullable AVPlayerViewControllerDelegate delegate()
[@property] delegate The receiver's delegate. API-Since: 9.0
-
init
public AVPlayerViewController init()
- Overrides:
initin classUIViewController
-
initWithCoder
public AVPlayerViewController initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIViewController
-
initWithNibNameBundle
public AVPlayerViewController initWithNibNameBundle(@Nullable @Nullable java.lang.String nibNameOrNil, @Nullable @Nullable NSBundle nibBundleOrNil)
Description copied from class:UIViewControllerThe designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.- Overrides:
initWithNibNameBundlein classUIViewController
-
isReadyForDisplay
public boolean isReadyForDisplay()
[@property] readyForDisplay Boolean indicating that the first video frame has been made ready for display for the current item of the associated AVPlayer.
-
player
@Nullable public @Nullable AVPlayer player()
[@property] player The player from which to source the media content for the view controller.
-
setAllowsPictureInPicturePlayback
public void setAllowsPictureInPicturePlayback(boolean value)
[@property] allowsPictureInPicturePlayback Whether or not the receiver allows Picture in Picture playback. Default is YES. API-Since: 9.0
-
setDelegate_unsafe
public void setDelegate_unsafe(@Nullable @Nullable AVPlayerViewControllerDelegate value)[@property] delegate The receiver's delegate. API-Since: 9.0
-
setDelegate
public void setDelegate(@Nullable @Nullable AVPlayerViewControllerDelegate value)[@property] delegate The receiver's delegate. API-Since: 9.0
-
setPlayer
public void setPlayer(@Nullable @Nullable AVPlayer value)[@property] player The player from which to source the media content for the view controller.
-
setShowsPlaybackControls
public void setShowsPlaybackControls(boolean value)
[@property] showsPlaybackControls Whether or not the receiver shows playback controls. Default is YES. Clients can set this property to NO when they don't want to have any playback controls on top of the visual content (e.g. for a game splash screen).
-
setUpdatesNowPlayingInfoCenter
public void setUpdatesNowPlayingInfoCenter(boolean value)
[@property] updatesNowPlayingInfoCenter Whether or not the now playing info center should be updated. Default is YES. API-Since: 10.0
-
setVideoGravity
public void setVideoGravity(@NotNull @NotNull java.lang.String value)[@property] videoGravity A string defining how the video is displayed within an AVPlayerLayer bounds rect. Options are AVLayerVideoGravityResizeAspect, AVLayerVideoGravityResizeAspectFill and AVLayerVideoGravityResize. AVLayerVideoGravityResizeAspect is default.
-
showsPlaybackControls
public boolean showsPlaybackControls()
[@property] showsPlaybackControls Whether or not the receiver shows playback controls. Default is YES. Clients can set this property to NO when they don't want to have any playback controls on top of the visual content (e.g. for a game splash screen).
-
updatesNowPlayingInfoCenter
public boolean updatesNowPlayingInfoCenter()
[@property] updatesNowPlayingInfoCenter Whether or not the now playing info center should be updated. Default is YES. API-Since: 10.0
-
videoBounds
public CGRect videoBounds()
[@property] videoBounds The current size and position of the video image as displayed within the receiver's view's bounds.
-
videoGravity
@NotNull public @NotNull java.lang.String videoGravity()
[@property] videoGravity A string defining how the video is displayed within an AVPlayerLayer bounds rect. Options are AVLayerVideoGravityResizeAspect, AVLayerVideoGravityResizeAspectFill and AVLayerVideoGravityResize. AVLayerVideoGravityResizeAspect is default.
-
entersFullScreenWhenPlaybackBegins
public boolean entersFullScreenWhenPlaybackBegins()
[@property] entersFullScreenWhenPlaybackBegins Whether or not the receiver automatically enters full screen when the play button is tapped. Default is NO. If YES, the receiver will show a user interface tailored to this behavior. API-Since: 11.0
-
exitsFullScreenWhenPlaybackEnds
public boolean exitsFullScreenWhenPlaybackEnds()
[@property] exitsFullScreenWhenPlaybackEnds Whether or not the receiver automatically exits full screen when playback ends. Default is NO. If multiple player items have been enqueued, the receiver exits fullscreen once no more items are remaining in the queue. API-Since: 11.0
-
setEntersFullScreenWhenPlaybackBegins
public void setEntersFullScreenWhenPlaybackBegins(boolean value)
[@property] entersFullScreenWhenPlaybackBegins Whether or not the receiver automatically enters full screen when the play button is tapped. Default is NO. If YES, the receiver will show a user interface tailored to this behavior. API-Since: 11.0
-
setExitsFullScreenWhenPlaybackEnds
public void setExitsFullScreenWhenPlaybackEnds(boolean value)
[@property] exitsFullScreenWhenPlaybackEnds Whether or not the receiver automatically exits full screen when playback ends. Default is NO. If multiple player items have been enqueued, the receiver exits fullscreen once no more items are remaining in the queue. API-Since: 11.0
-
pixelBufferAttributes
@Nullable public @Nullable NSDictionary<java.lang.String,?> pixelBufferAttributes()
[@property] pixelBufferAttributes The client requirements for the visual output during playback. Pixel buffer attribute keys are defined inAPI-Since: 9.0
-
setPixelBufferAttributes
public void setPixelBufferAttributes(@Nullable @Nullable NSDictionary<java.lang.String,?> value)[@property] pixelBufferAttributes The client requirements for the visual output during playback. Pixel buffer attribute keys are defined inAPI-Since: 9.0
-
requiresLinearPlayback
public boolean requiresLinearPlayback()
[@property] requiresLinearPlayback Disables certain user operations, such as scanning, skipping, and scrubbing. This can be used to enforce playback of mandatory content (such as legalese or advertisements). API-Since: 11.0
-
setRequiresLinearPlayback
public void setRequiresLinearPlayback(boolean value)
[@property] requiresLinearPlayback Disables certain user operations, such as scanning, skipping, and scrubbing. This can be used to enforce playback of mandatory content (such as legalese or advertisements). API-Since: 11.0
-
setShowsTimecodes
public void setShowsTimecodes(boolean value)
[@property] showsTimecodes Controls whether timecodes can be displayed in the playback UI when playing media with embedded timecodes. Default NO. API-Since: 13.0
-
showsTimecodes
public boolean showsTimecodes()
[@property] showsTimecodes Controls whether timecodes can be displayed in the playback UI when playing media with embedded timecodes. Default NO. API-Since: 13.0
-
canStartPictureInPictureAutomaticallyFromInline
public boolean canStartPictureInPictureAutomaticallyFromInline()
[@property] canStartPictureInPictureAutomaticallyFromInline Indicates whether Picture in Picture should be allowed to start automatically when transitioning to background when the receiver’s content is embedded inline. Default is NO. This property must only be set to YES for content intended to be the user's primary focus. API-Since: 14.2
-
setCanStartPictureInPictureAutomaticallyFromInline
public void setCanStartPictureInPictureAutomaticallyFromInline(boolean value)
[@property] canStartPictureInPictureAutomaticallyFromInline Indicates whether Picture in Picture should be allowed to start automatically when transitioning to background when the receiver’s content is embedded inline. Default is NO. This property must only be set to YES for content intended to be the user's primary focus. API-Since: 14.2
-
allowsVideoFrameAnalysis
public boolean allowsVideoFrameAnalysis()
[@property] allowsVideoFrameAnalysis When set to YES, the AVPlayerViewController will try to find objects, text and people while the media is paused. When an object is found, the user will be able to interact with it using long press to present a context menu. Default is YES. API-Since: 16.0
-
selectSpeed
public void selectSpeed(@NotNull @NotNull AVPlaybackSpeed speed)[@property] selectSpeed Sets the input AVPlaybackSpeed as the selected speed. Calls to selectSpeed with AVPlaybackSpeeds not contained within the speeds property array will be ignored. API-Since: 16.0- Parameters:
speed- The playback speed to select.
-
selectedSpeed
@Nullable public @Nullable AVPlaybackSpeed selectedSpeed()
[@property] selectedSpeed The currently selected playback speed. Changes to the associated AVPlayer's defaultRate will be reflected in this property and vice versa. If the associated AVPlayer's defaultRate is set to a value that does not match a speed in the speeds list property, the selected speed will be nil. API-Since: 16.0
-
setAllowsVideoFrameAnalysis
public void setAllowsVideoFrameAnalysis(boolean value)
[@property] allowsVideoFrameAnalysis When set to YES, the AVPlayerViewController will try to find objects, text and people while the media is paused. When an object is found, the user will be able to interact with it using long press to present a context menu. Default is YES. API-Since: 16.0
-
setSpeeds
public void setSpeeds(@NotNull @NotNull NSArray<? extends AVPlaybackSpeed> value)[@property] speeds A list of user selectable playback speeds to be shown in the playback speed control. By default this property will be set to the systemDefaultSpeeds class property. Setting this property to an empty list will hide the playback speed selection UI. To set the currently selected playback speed programmatically, either set the defaultRate on the AVPlayer associated with this view controller or use the selectSpeed: method on AVPlayerViewController. API-Since: 16.0
-
speeds
@NotNull public @NotNull NSArray<? extends AVPlaybackSpeed> speeds()
[@property] speeds A list of user selectable playback speeds to be shown in the playback speed control. By default this property will be set to the systemDefaultSpeeds class property. Setting this property to an empty list will hide the playback speed selection UI. To set the currently selected playback speed programmatically, either set the defaultRate on the AVPlayer associated with this view controller or use the selectSpeed: method on AVPlayerViewController. API-Since: 16.0
-
setVideoFrameAnalysisTypes
public void setVideoFrameAnalysisTypes(long value)
[@property] videoFrameAnalysisTypes The types of analysis AVPlayerViewController will perform on a paused video frame. The default value is AVVideoFrameAnalysisDefault. API-Since: 17.0
-
toggleLookupAction
@NotNull public @NotNull UIAction toggleLookupAction()
[@property] toggleLookupAction A UIAction used for enabling the visual lookup interface. Use this action to toggle visual lookup UI. This action's attributes will be set to disabled when there is no visual lookup data available or when the media is playing. Make sure to update your user interface to reflect this change. When the lookup UI is toggled, the state property is set to UIMenuElementStateOn; otherwise it will be set to UIMenuElementStateOff. API-Since: 17.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
videoFrameAnalysisTypes
public long videoFrameAnalysisTypes()
[@property] videoFrameAnalysisTypes The types of analysis AVPlayerViewController will perform on a paused video frame. The default value is AVVideoFrameAnalysisDefault. API-Since: 17.0
-
-