Package org.robovm.apple.avfoundation
Class AVAssetExportSession
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVAssetExportSession
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class AVAssetExportSession extends NSObject
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAssetExportSession.AVAssetExportSessionPtr
-
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
AVAssetExportSession()
AVAssetExportSession(AVAsset asset, AVAssetExportPreset presetName)
protected
AVAssetExportSession(NSObject.Handle h, long handle)
protected
AVAssetExportSession(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
-
AVAssetExportSession
protected AVAssetExportSession()
-
AVAssetExportSession
protected AVAssetExportSession(NSObject.Handle h, long handle)
-
AVAssetExportSession
protected AVAssetExportSession(NSObject.SkipInit skipInit)
-
AVAssetExportSession
public AVAssetExportSession(AVAsset asset, AVAssetExportPreset presetName)
-
-
Method Detail
-
getPresetName
public AVAssetExportPreset getPresetName()
-
getAsset
public AVAsset getAsset()
- Since:
- Available in iOS 5.0 and later.
-
getOutputFileType
public java.lang.String getOutputFileType()
-
setOutputFileType
public void setOutputFileType(java.lang.String v)
-
getOutputURL
public NSURL getOutputURL()
-
setOutputURL
public void setOutputURL(NSURL v)
-
shouldOptimizeForNetworkUse
public boolean shouldOptimizeForNetworkUse()
-
setShouldOptimizeForNetworkUse
public void setShouldOptimizeForNetworkUse(boolean v)
-
getStatus
public AVAssetExportSessionStatus getStatus()
-
getError
public NSError getError()
-
getProgress
public float getProgress()
-
getSupportedFileTypes
public java.util.List<java.lang.String> getSupportedFileTypes()
-
getTimeRange
public CMTimeRange getTimeRange()
-
setTimeRange
public void setTimeRange(CMTimeRange v)
-
getMaxDuration
public CMTime getMaxDuration()
- Since:
- Available in iOS 4.0 and later.
-
getEstimatedOutputFileLength
public long getEstimatedOutputFileLength()
- Since:
- Available in iOS 5.0 and later.
-
getFileLengthLimit
public long getFileLengthLimit()
- Since:
- Available in iOS 4.0 and later.
-
setFileLengthLimit
public void setFileLengthLimit(long v)
- Since:
- Available in iOS 4.0 and later.
-
getMetadata
public NSArray<AVMetadataItem> getMetadata()
-
setMetadata
public void setMetadata(NSArray<AVMetadataItem> v)
-
getMetadataItemFilter
public AVMetadataItemFilter getMetadataItemFilter()
- Since:
- Available in iOS 7.0 and later.
-
setMetadataItemFilter
public void setMetadataItemFilter(AVMetadataItemFilter v)
- Since:
- Available in iOS 7.0 and later.
-
getAudioTimePitchAlgorithm
public AVAudioTimePitchAlgorithm getAudioTimePitchAlgorithm()
- Since:
- Available in iOS 7.0 and later.
-
setAudioTimePitchAlgorithm
public void setAudioTimePitchAlgorithm(AVAudioTimePitchAlgorithm v)
- Since:
- Available in iOS 7.0 and later.
-
getAudioMix
public AVAudioMix getAudioMix()
-
setAudioMix
public void setAudioMix(AVAudioMix v)
-
getVideoComposition
public AVVideoComposition getVideoComposition()
-
setVideoComposition
public void setVideoComposition(AVVideoComposition v)
-
getCustomVideoCompositor
public AVVideoCompositing getCustomVideoCompositor()
- Since:
- Available in iOS 7.0 and later.
-
canPerformMultiplePassesOverSourceMediaData
public boolean canPerformMultiplePassesOverSourceMediaData()
- Since:
- Available in iOS 8.0 and later.
-
setCanPerformMultiplePassesOverSourceMediaData
public void setCanPerformMultiplePassesOverSourceMediaData(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
getDirectoryForTemporaryFiles
public NSURL getDirectoryForTemporaryFiles()
- Since:
- Available in iOS 8.0 and later.
-
setDirectoryForTemporaryFiles
public void setDirectoryForTemporaryFiles(NSURL v)
- Since:
- Available in iOS 8.0 and later.
-
init
protected long init(AVAsset asset, AVAssetExportPreset presetName)
-
exportAsynchronously
public void exportAsynchronously(java.lang.Runnable handler)
-
cancelExport
public void cancelExport()
-
getAllExportPresets
public static java.util.List<AVAssetExportPreset> getAllExportPresets()
-
getCompatibleExportPresets
public static java.util.List<AVAssetExportPreset> getCompatibleExportPresets(AVAsset asset)
-
determineCompatibilityOfExportPreset
public static void determineCompatibilityOfExportPreset(AVAssetExportPreset presetName, AVAsset asset, java.lang.String outputFileType, org.robovm.objc.block.VoidBooleanBlock handler)
- Since:
- Available in iOS 6.0 and later.
-
-