NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVPictureInPictureController(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVPictureInPictureController |
alloc() |
static AVPictureInPictureController |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
boolean |
canStartPictureInPictureAutomaticallyFromInline()
[@property] canStartPictureInPictureAutomaticallyFromInline
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
AVPictureInPictureControllerContentSource |
contentSource()
[@property] contentSource
|
static java.lang.String |
debugDescription_static() |
AVPictureInPictureControllerDelegate |
delegate()
[@property] delegate
|
static java.lang.String |
description_static() |
static long |
hash_static() |
AVPictureInPictureController |
init() |
AVPictureInPictureController |
initWithContentSource(AVPictureInPictureControllerContentSource contentSource)
initWithContentSource:
|
AVPictureInPictureController |
initWithPlayerLayer(AVPlayerLayer playerLayer)
initWithPlayerLayer:
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
void |
invalidatePlaybackState()
invalidatePlaybackState
|
boolean |
isPictureInPictureActive()
[@property] pictureInPictureActive
|
boolean |
isPictureInPicturePossible()
[@property] pictureInPicturePossible
|
static boolean |
isPictureInPictureSupported()
isPictureInPictureSupported
|
boolean |
isPictureInPictureSuspended()
[@property] pictureInPictureSuspended
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static AVPictureInPictureController |
new_objc() |
static UIImage |
pictureInPictureButtonStartImage()
[@property] pictureInPictureButtonStartImage
|
static UIImage |
pictureInPictureButtonStartImageCompatibleWithTraitCollection(UITraitCollection traitCollection)
pictureInPictureButtonStartImageCompatibleWithTraitCollection:
|
static UIImage |
pictureInPictureButtonStopImage()
[@property] pictureInPictureButtonStopImage
|
static UIImage |
pictureInPictureButtonStopImageCompatibleWithTraitCollection(UITraitCollection traitCollection)
pictureInPictureButtonStopImageCompatibleWithTraitCollection:
|
AVPlayerLayer |
playerLayer()
[@property] playerLayer
|
boolean |
requiresLinearPlayback()
[@property] requiresLinearPlayback
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setCanStartPictureInPictureAutomaticallyFromInline(boolean value)
[@property] canStartPictureInPictureAutomaticallyFromInline
|
void |
setContentSource(AVPictureInPictureControllerContentSource value)
[@property] contentSource
|
void |
setDelegate_unsafe(AVPictureInPictureControllerDelegate value)
[@property] delegate
|
void |
setDelegate(AVPictureInPictureControllerDelegate value)
[@property] delegate
|
void |
setRequiresLinearPlayback(boolean value)
[@property] requiresLinearPlayback
|
static void |
setVersion_static(long aVersion) |
void |
startPictureInPicture()
startPictureInPicture
|
void |
stopPictureInPicture()
stopPictureInPicture
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected AVPictureInPictureController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static AVPictureInPictureController alloc()
public static AVPictureInPictureController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isPictureInPictureSupported()
Whether or not Picture in Picture is supported on the current device.
When NO, all initializers will return nil.
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static AVPictureInPictureController new_objc()
public static UIImage pictureInPictureButtonStartImageCompatibleWithTraitCollection(UITraitCollection traitCollection)
System default Picture in Picture start template image for use in client's Picture in Picture button.
traitCollection - Traits that describe the image to retrieve, pass nil to use traits that describe the main screen.public static UIImage pictureInPictureButtonStopImageCompatibleWithTraitCollection(UITraitCollection traitCollection)
System default Picture in Picture stop template image for use in client's Picture in Picture button.
traitCollection - Traits that describe the image to retrieve, pass nil to use traits that describe the main screen.public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public AVPictureInPictureControllerDelegate delegate()
The receiver's delegate.
public AVPictureInPictureController init()
public AVPictureInPictureController initWithPlayerLayer(AVPlayerLayer playerLayer)
Initialize the picture in picture controller with a player layer.
playerLayer - The player layer from which to source the media content for the Picture in Picture controller.public boolean isPictureInPictureActive()
Whether or not Picture in Picture is currently active.
public boolean isPictureInPicturePossible()
Whether or not Picture in Picture is currently possible.
public boolean isPictureInPictureSuspended()
Whether or not Picture in Picture is currently suspended.
public AVPlayerLayer playerLayer()
The receiver's player layer.
public void setDelegate_unsafe(AVPictureInPictureControllerDelegate value)
The receiver's delegate.
public void setDelegate(AVPictureInPictureControllerDelegate value)
The receiver's delegate.
public void startPictureInPicture()
Start Picture in Picture for the provided AVPlayerLayer if possible.
Receiver will call -pictureInPictureControllerWillStartPictureInPicture: if Picture in Picture is currently possible and -pictureInPictureControllerDidStartPictureInPicture: after a successful start. If starting Picture in Picture fails, -pictureInPictureControllerFailedToStartPictureInPicture:withError: is called on the delegate instead. Client can stop Picture in Picture by calling -stopPictureInPicture. In addition the user can stop Picture in Picture through user interaction. It is also possible that Picture in Picture is stopped by the Picture in Picture controller at any time. In all these cases receiver calls -pictureInPictureControllerWillStopPictureInPicture: on the delegate and -pictureInPictureControllerDidStopPictureInPicture:after the stop animation completed.
public void stopPictureInPicture()
Stop the local Picture in Picture if currently active. On tvOS, this can also stop Picture in Picture sessions for other applications.
See startPictureInPicture for details.
public static UIImage pictureInPictureButtonStartImage()
System default Picture in Picture start template image for use in client's Picture in Picture button.
public static UIImage pictureInPictureButtonStopImage()
System default Picture in Picture stop template image for use in client's Picture in Picture button.
public boolean requiresLinearPlayback()
Disables certain user operations (fast forward, forward skip, and scrubbing).
This can be used to temporarily enforce playback of mandatory content (such as legalese or advertisements).
public void setRequiresLinearPlayback(boolean value)
Disables certain user operations (fast forward, forward skip, and scrubbing).
This can be used to temporarily enforce playback of mandatory content (such as legalese or advertisements).
public boolean 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.
public void setCanStartPictureInPictureAutomaticallyFromInline(boolean value)
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.
public AVPictureInPictureControllerContentSource contentSource()
The receiver's content source. Can be changed while Picture in Picture is active, but the new content source must be ready for display (in the case of AVPlayerLayer, that means AVPlayerLayer.isReadyForDisplay must return YES), otherwise Picture in Picture will stop.
public AVPictureInPictureController initWithContentSource(AVPictureInPictureControllerContentSource contentSource)
Use this initializer for content that may be a sample buffer display layer or a player layer.
contentSource - The content source to be shown in Picture in Picture.public void invalidatePlaybackState()
Informs Picture in Picture controller that it should request an updated playback state from its sampleBufferPlaybackDelegate.
This should always be called whenever playback is paused or unpaused, or the underlying content duration changes.
public void setContentSource(AVPictureInPictureControllerContentSource value)
The receiver's content source. Can be changed while Picture in Picture is active, but the new content source must be ready for display (in the case of AVPlayerLayer, that means AVPlayerLayer.isReadyForDisplay must return YES), otherwise Picture in Picture will stop.