Package org.robovm.apple.avfoundation
Class AVAssetWriterInput
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVAssetWriterInput
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class AVAssetWriterInput extends NSObject
- Since:
- Available in iOS 4.1 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAssetWriterInput.AVAssetWriterInputPtr
-
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
AVAssetWriterInput()
AVAssetWriterInput(AVMediaType mediaType, AVAudioSettings outputSettings)
AVAssetWriterInput(AVMediaType mediaType, AVAudioSettings outputSettings, CMFormatDescription sourceFormatHint)
AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings)
AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings, CMFormatDescription sourceFormatHint)
protected
AVAssetWriterInput(NSObject.Handle h, long handle)
protected
AVAssetWriterInput(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
-
AVAssetWriterInput
protected AVAssetWriterInput()
-
AVAssetWriterInput
protected AVAssetWriterInput(NSObject.Handle h, long handle)
-
AVAssetWriterInput
protected AVAssetWriterInput(NSObject.SkipInit skipInit)
-
AVAssetWriterInput
public AVAssetWriterInput(AVMediaType mediaType, AVAudioSettings outputSettings)
-
AVAssetWriterInput
public AVAssetWriterInput(AVMediaType mediaType, AVAudioSettings outputSettings, CMFormatDescription sourceFormatHint)
- Since:
- Available in iOS 6.0 and later.
-
AVAssetWriterInput
public AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings)
-
AVAssetWriterInput
public AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings, CMFormatDescription sourceFormatHint)
- Since:
- Available in iOS 6.0 and later.
-
-
Method Detail
-
getOutputAudioSettings
public AVAudioSettings getOutputAudioSettings()
-
getOutputVideoSettings
public AVVideoSettings getOutputVideoSettings()
-
getMediaType
public AVMediaType getMediaType()
-
getOutputSettings
protected NSDictionary<NSString,?> getOutputSettings()
-
getSourceFormatHint
public CMFormatDescription getSourceFormatHint()
- Since:
- Available in iOS 6.0 and later.
-
getMetadata
public NSArray<AVMetadataItem> getMetadata()
-
setMetadata
public void setMetadata(NSArray<AVMetadataItem> v)
-
isReadyForMoreMediaData
public boolean isReadyForMoreMediaData()
-
expectsMediaDataInRealTime
public boolean expectsMediaDataInRealTime()
-
setExpectsMediaDataInRealTime
public void setExpectsMediaDataInRealTime(boolean v)
-
getLanguageCode
public java.lang.String getLanguageCode()
- Since:
- Available in iOS 7.0 and later.
-
setLanguageCode
public void setLanguageCode(java.lang.String v)
- Since:
- Available in iOS 7.0 and later.
-
getExtendedLanguageTag
public java.lang.String getExtendedLanguageTag()
- Since:
- Available in iOS 7.0 and later.
-
setExtendedLanguageTag
public void setExtendedLanguageTag(java.lang.String v)
- Since:
- Available in iOS 7.0 and later.
-
getNaturalSize
public CGSize getNaturalSize()
- Since:
- Available in iOS 7.0 and later.
-
setNaturalSize
public void setNaturalSize(CGSize v)
- Since:
- Available in iOS 7.0 and later.
-
getTransform
public CGAffineTransform getTransform()
-
setTransform
public void setTransform(CGAffineTransform v)
-
getPreferredVolume
public float getPreferredVolume()
- Since:
- Available in iOS 7.0 and later.
-
setPreferredVolume
public void setPreferredVolume(float v)
- Since:
- Available in iOS 7.0 and later.
-
marksOutputTrackAsEnabled
public boolean marksOutputTrackAsEnabled()
- Since:
- Available in iOS 7.0 and later.
-
setMarksOutputTrackAsEnabled
public void setMarksOutputTrackAsEnabled(boolean v)
- Since:
- Available in iOS 7.0 and later.
-
getMediaTimeScale
public int getMediaTimeScale()
- Since:
- Available in iOS 4.3 and later.
-
setMediaTimeScale
public void setMediaTimeScale(int v)
- Since:
- Available in iOS 4.3 and later.
-
getPreferredMediaChunkDuration
public CMTime getPreferredMediaChunkDuration()
- Since:
- Available in iOS 8.0 and later.
-
setPreferredMediaChunkDuration
public void setPreferredMediaChunkDuration(CMTime v)
- Since:
- Available in iOS 8.0 and later.
-
getPreferredMediaChunkAlignment
public long getPreferredMediaChunkAlignment()
- Since:
- Available in iOS 8.0 and later.
-
setPreferredMediaChunkAlignment
public void setPreferredMediaChunkAlignment(long v)
- Since:
- Available in iOS 8.0 and later.
-
getSampleReferenceBaseURL
public NSURL getSampleReferenceBaseURL()
- Since:
- Available in iOS 8.0 and later.
-
setSampleReferenceBaseURL
public void setSampleReferenceBaseURL(NSURL v)
- Since:
- Available in iOS 8.0 and later.
-
getMediaDataLocation
public AVAssetWriterInputMediaDataLocation getMediaDataLocation()
- Since:
- Available in iOS 11.0 and later.
-
setMediaDataLocation
public void setMediaDataLocation(AVAssetWriterInputMediaDataLocation v)
- Since:
- Available in iOS 11.0 and later.
-
performsMultiPassEncodingIfSupported
public boolean performsMultiPassEncodingIfSupported()
- Since:
- Available in iOS 8.0 and later.
-
setPerformsMultiPassEncodingIfSupported
public void setPerformsMultiPassEncodingIfSupported(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
canPerformMultiplePasses
public boolean canPerformMultiplePasses()
- Since:
- Available in iOS 8.0 and later.
-
getCurrentPassDescription
public AVAssetWriterInputPassDescription getCurrentPassDescription()
- Since:
- Available in iOS 8.0 and later.
-
init
protected long init(AVMediaType mediaType, NSDictionary<NSString,?> outputSettings)
-
init
protected long init(AVMediaType mediaType, NSDictionary<NSString,?> outputSettings, CMFormatDescription sourceFormatHint)
- Since:
- Available in iOS 6.0 and later.
-
requestMediaDataWhenReady
public void requestMediaDataWhenReady(DispatchQueue queue, java.lang.Runnable block)
-
appendSampleBuffer
public boolean appendSampleBuffer(CMSampleBuffer sampleBuffer)
-
markAsFinished
public void markAsFinished()
-
canAddTrackAssociation
public boolean canAddTrackAssociation(AVAssetWriterInput input, AVTrackAssociationType trackAssociationType)
- Since:
- Available in iOS 7.0 and later.
-
addTrackAssociation
public void addTrackAssociation(AVAssetWriterInput input, AVTrackAssociationType trackAssociationType)
- Since:
- Available in iOS 7.0 and later.
-
respondToEachPassDescriptionOnQueue
public void respondToEachPassDescriptionOnQueue(DispatchQueue queue, java.lang.Runnable block)
- Since:
- Available in iOS 8.0 and later.
-
markCurrentPassAsFinished
public void markCurrentPassAsFinished()
- Since:
- Available in iOS 8.0 and later.
-
-