Package org.robovm.apple.avfoundation
Class AVPlayerItem
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.avfoundation.AVPlayerItem
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class AVPlayerItem extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAVPlayerItem.AVPlayerItemPtrstatic classAVPlayerItem.NotificationsNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedAVPlayerItem()AVPlayerItem(AVAsset asset)AVPlayerItem(AVAsset asset, List<String> automaticallyLoadedAssetKeys)protectedAVPlayerItem(NSObject.Handle h, long handle)protectedAVPlayerItem(NSObject.SkipInit skipInit)AVPlayerItem(NSURL URL) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
AVPlayerItem
protected AVPlayerItem() -
AVPlayerItem
-
AVPlayerItem
-
AVPlayerItem
-
AVPlayerItem
-
AVPlayerItem
-
-
Method Details
-
getStatus
-
getError
-
getAsset
-
getTracks
-
getDuration
-
getPresentationSize
-
getTimedMetadata
Deprecated.Deprecated in iOS 13.0. Use AVPlayerItemMetadataOutput to obtain timed metadata -
getAutomaticallyLoadedAssetKeys
-
canPlayFastForward
public boolean canPlayFastForward() -
canPlaySlowForward
public boolean canPlaySlowForward() -
canPlayReverse
public boolean canPlayReverse() -
canPlaySlowReverse
public boolean canPlaySlowReverse() -
canPlayFastReverse
public boolean canPlayFastReverse() -
canStepForward
public boolean canStepForward() -
canStepBackward
public boolean canStepBackward() -
getConfiguredTimeOffsetFromLive
- Since:
- Available in iOS 13.0 and later.
-
setConfiguredTimeOffsetFromLive
- Since:
- Available in iOS 13.0 and later.
-
getRecommendedTimeOffsetFromLive
- Since:
- Available in iOS 13.0 and later.
-
automaticallyPreservesTimeOffsetFromLive
public boolean automaticallyPreservesTimeOffsetFromLive()- Since:
- Available in iOS 13.0 and later.
-
setAutomaticallyPreservesTimeOffsetFromLive
public void setAutomaticallyPreservesTimeOffsetFromLive(boolean v)- Since:
- Available in iOS 13.0 and later.
-
getForwardPlaybackEndTime
-
setForwardPlaybackEndTime
-
getReversePlaybackEndTime
-
setReversePlaybackEndTime
-
getSeekableTimeRanges
-
getTimebase
-
getVideoComposition
-
setVideoComposition
-
getCustomVideoCompositor
-
seekingWaitsForVideoCompositionRendering
public boolean seekingWaitsForVideoCompositionRendering() -
seekingWaitsForVideoCompositionRendering
public void seekingWaitsForVideoCompositionRendering(boolean v) -
getTextStyleRules
-
setTextStyleRules
-
getVideoApertureMode
- Since:
- Available in iOS 11.0 and later.
-
setVideoApertureMode
- Since:
- Available in iOS 11.0 and later.
-
appliesPerFrameHDRDisplayMetadata
public boolean appliesPerFrameHDRDisplayMetadata()- Since:
- Available in iOS 14.0 and later.
-
setAppliesPerFrameHDRDisplayMetadata
public void setAppliesPerFrameHDRDisplayMetadata(boolean v)- Since:
- Available in iOS 14.0 and later.
-
getAudioTimePitchAlgorithm
-
setAudioTimePitchAlgorithm
-
isAudioSpatializationAllowed
Deprecated.Use allowedAudioSpatializationFormats- Since:
- Available in iOS 13.0 and later.
-
setAudioSpatializationAllowed
Deprecated.Use allowedAudioSpatializationFormats- Since:
- Available in iOS 13.0 and later.
-
getAllowedAudioSpatializationFormats
- Since:
- Available in iOS 14.0 and later.
-
setAllowedAudioSpatializationFormats
- Since:
- Available in iOS 14.0 and later.
-
getAudioMix
-
setAudioMix
-
getLoadedTimeRanges
-
isPlaybackLikelyToKeepUp
public boolean isPlaybackLikelyToKeepUp() -
isPlaybackBufferFull
public boolean isPlaybackBufferFull() -
isPlaybackBufferEmpty
public boolean isPlaybackBufferEmpty() -
canUseNetworkResourcesForLiveStreamingWhilePaused
public boolean canUseNetworkResourcesForLiveStreamingWhilePaused()- Since:
- Available in iOS 9.0 and later.
-
setCanUseNetworkResourcesForLiveStreamingWhilePaused
public void setCanUseNetworkResourcesForLiveStreamingWhilePaused(boolean v)- Since:
- Available in iOS 9.0 and later.
-
getPreferredForwardBufferDuration
public double getPreferredForwardBufferDuration()- Since:
- Available in iOS 10.0 and later.
-
setPreferredForwardBufferDuration
public void setPreferredForwardBufferDuration(double v)- Since:
- Available in iOS 10.0 and later.
-
getPreferredPeakBitRate
public double getPreferredPeakBitRate() -
setPreferredPeakBitRate
public void setPreferredPeakBitRate(double v) -
getPreferredPeakBitRateForExpensiveNetworks
public double getPreferredPeakBitRateForExpensiveNetworks()- Since:
- Available in iOS 15.0 and later.
-
setPreferredPeakBitRateForExpensiveNetworks
public void setPreferredPeakBitRateForExpensiveNetworks(double v)- Since:
- Available in iOS 15.0 and later.
-
getPreferredMaximumResolution
- Since:
- Available in iOS 11.0 and later.
-
setPreferredMaximumResolution
- Since:
- Available in iOS 11.0 and later.
-
getPreferredMaximumResolutionForExpensiveNetworks
- Since:
- Available in iOS 15.0 and later.
-
setPreferredMaximumResolutionForExpensiveNetworks
- Since:
- Available in iOS 15.0 and later.
-
isStartsOnFirstEligibleVariant
public boolean isStartsOnFirstEligibleVariant()- Since:
- Available in iOS 14.0 and later.
-
setStartsOnFirstEligibleVariant
public void setStartsOnFirstEligibleVariant(boolean v)- Since:
- Available in iOS 14.0 and later.
-
getVariantPreferences
- Since:
- Available in iOS 14.5 and later.
-
setVariantPreferences
- Since:
- Available in iOS 14.5 and later.
-
getCurrentMediaSelection
- Since:
- Available in iOS 9.0 and later.
-
getOutputs
-
getMediaDataCollectors
- Since:
- Available in iOS 9.3 and later.
-
automaticallyHandlesInterstitialEvents
public boolean automaticallyHandlesInterstitialEvents()- Since:
- Available in iOS 15.0 and later.
-
setAutomaticallyHandlesInterstitialEvents
public void setAutomaticallyHandlesInterstitialEvents(boolean v)- Since:
- Available in iOS 15.0 and later.
-
getTemplatePlayerItem
- Since:
- Available in iOS 15.0 and later.
-
TimeJumpedNotification
-
DidPlayToEndTimeNotification
-
FailedToPlayToEndTimeNotification
-
PlaybackStalledNotification
-
NewAccessLogEntryNotification
-
NewErrorLogEntryNotification
-
RecommendedTimeOffsetFromLiveDidChangeNotification
- Since:
- Available in iOS 13.0 and later.
-
MediaSelectionDidChangeNotification
- Since:
- Available in iOS 13.0 and later.
-
FailedToPlayToEndTimeErrorKey
-
init
-
init
-
init
-
copyWithZone
-
copy
-
getCurrentTime
-
seekToTime
-
seekToTime
public void seekToTime(CMTime time, CMTime toleranceBefore, CMTime toleranceAfter, VoidBooleanBlock completionHandler) -
cancelPendingSeeks
public void cancelPendingSeeks() -
getCurrentDate
-
seekToDate
-
stepByCount
public void stepByCount(long stepCount) -
selectMediaOption
public void selectMediaOption(AVMediaSelectionOption mediaSelectionOption, AVMediaSelectionGroup mediaSelectionGroup) -
selectMediaOptionAutomatically
-
getAccessLog
-
getErrorLog
-
addOutput
-
removeOutput
-
addMediaDataCollector
- Since:
- Available in iOS 9.3 and later.
-
removeMediaDataCollector
- Since:
- Available in iOS 9.3 and later.
-
seekToTime
Deprecated.Deprecated in iOS 11.0. Use -seekToTime:completionHandler:, passing nil for the completionHandler if you don't require notification of completion -
seekToTime
Deprecated.Deprecated in iOS 11.0. Use -seekToTime:toleranceBefore:toleranceAfter:completionHandler:, passing nil for the completionHandler if you don't require notification of completion -
seekToDate
Deprecated.Deprecated in iOS 11.0. Use -seekToDate:completionHandler:, passing nil for the completionHandler if you don't require notification of completion -
getSelectedMediaOption
@Deprecated public AVMediaSelectionOption getSelectedMediaOption(AVMediaSelectionGroup mediaSelectionGroup)Deprecated.Deprecated in iOS 11.0. Use currentMediaSelection to obtain an instance of AVMediaSelection, which encompasses the currently selected AVMediaSelectionOption in each of the available AVMediaSelectionGroups
-