Package org.robovm.apple.avfoundation
Class AVAssetTrack
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVAssetTrack
-
- All Implemented Interfaces:
AVAsynchronousKeyValueLoading
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
AVCompositionTrack
,AVFragmentedAssetTrack
public class AVAssetTrack extends NSObject implements AVAsynchronousKeyValueLoading
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAssetTrack.AVAssetTrackPtr
static class
AVAssetTrack.Notifications
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AVAssetTrack()
protected
AVAssetTrack(NSObject.Handle h, long handle)
protected
AVAssetTrack(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
AVAssetTrack
protected AVAssetTrack()
-
AVAssetTrack
protected AVAssetTrack(NSObject.Handle h, long handle)
-
AVAssetTrack
protected AVAssetTrack(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getAsset
public AVAsset getAsset()
-
getTrackID
public int getTrackID()
-
getMediaType
public java.lang.String getMediaType()
-
getFormatDescriptions
public java.util.List<CMFormatDescription> getFormatDescriptions()
-
isPlayable
public boolean isPlayable()
- Since:
- Available in iOS 5.0 and later.
-
isDecodable
public boolean isDecodable()
- Since:
- Available in iOS 11.0 and later.
-
isEnabled
public boolean isEnabled()
-
isSelfContained
public boolean isSelfContained()
-
getTotalSampleDataLength
public long getTotalSampleDataLength()
-
getTimeRange
public CMTimeRange getTimeRange()
-
getNaturalTimeScale
public int getNaturalTimeScale()
-
getEstimatedDataRate
public float getEstimatedDataRate()
-
getLanguageCode
public java.lang.String getLanguageCode()
-
getExtendedLanguageTag
public java.lang.String getExtendedLanguageTag()
-
getNaturalSize
public CGSize getNaturalSize()
-
getPreferredTransform
public CGAffineTransform getPreferredTransform()
-
getPreferredVolume
public float getPreferredVolume()
-
getNominalFrameRate
public float getNominalFrameRate()
-
getMinFrameDuration
public CMTime getMinFrameDuration()
- Since:
- Available in iOS 7.0 and later.
-
requiresFrameReordering
public boolean requiresFrameReordering()
- Since:
- Available in iOS 8.0 and later.
-
getSegments
public NSArray<AVAssetTrackSegment> getSegments()
-
getCommonMetadata
public NSArray<AVMetadataItem> getCommonMetadata()
-
getMetadata
public NSArray<AVMetadataItem> getMetadata()
- Since:
- Available in iOS 8.0 and later.
-
getAvailableMetadataFormats
public java.util.List<AVMetadataFormat> getAvailableMetadataFormats()
-
getAvailableTrackAssociationTypes
public java.util.List<AVTrackAssociationType> getAvailableTrackAssociationTypes()
- Since:
- Available in iOS 7.0 and later.
-
getStatusOfValue
public AVKeyValueStatus getStatusOfValue(AVMetadataKey key) throws NSErrorException
- Parameters:
key
-- Returns:
- Throws:
NSErrorException
-
TrackAssociationsDidChangeNotification
public static NSString TrackAssociationsDidChangeNotification()
- Since:
- Available in iOS 9.0 and later.
-
hasMediaCharacteristic
public boolean hasMediaCharacteristic(AVMediaCharacteristic mediaCharacteristic)
-
getSegment
public AVAssetTrackSegment getSegment(CMTime trackTime)
-
getMetadataForFormat
public NSArray<AVMetadataItem> getMetadataForFormat(AVMetadataFormat format)
-
getAssociatedTracksOfType
public NSArray<AVAssetTrack> getAssociatedTracksOfType(AVTrackAssociationType trackAssociationType)
- Since:
- Available in iOS 7.0 and later.
-
getStatusOfValue
public AVKeyValueStatus getStatusOfValue(AVMetadataKey key, NSError.NSErrorPtr outError)
- Specified by:
getStatusOfValue
in interfaceAVAsynchronousKeyValueLoading
-
loadValuesAsynchronously
public void loadValuesAsynchronously(java.util.List<AVMetadataKey> keys, java.lang.Runnable handler)
- Specified by:
loadValuesAsynchronously
in interfaceAVAsynchronousKeyValueLoading
-
-