Package org.robovm.apple.avfoundation
Class AVAudioFormat
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVAudioFormat
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class AVAudioFormat extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAudioFormat.AVAudioFormatPtr
-
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 AVAudioFormat()
AVAudioFormat(double sampleRate, int channels)
AVAudioFormat(double sampleRate, AVAudioChannelLayout layout)
AVAudioFormat(AVAudioCommonFormat format, double sampleRate, boolean interleaved, AVAudioChannelLayout layout)
AVAudioFormat(AVAudioCommonFormat format, double sampleRate, int channels, boolean interleaved)
AVAudioFormat(AVAudioSettings settings)
AVAudioFormat(AudioStreamBasicDescription asbd)
AVAudioFormat(AudioStreamBasicDescription asbd, AVAudioChannelLayout layout)
AVAudioFormat(CMAudioFormatDescription formatDescription)
AVAudioFormat(NSCoder decoder)
protected
AVAudioFormat(NSObject.Handle h, long handle)
protected
AVAudioFormat(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
-
AVAudioFormat
public AVAudioFormat()
-
AVAudioFormat
protected AVAudioFormat(NSObject.Handle h, long handle)
-
AVAudioFormat
protected AVAudioFormat(NSObject.SkipInit skipInit)
-
AVAudioFormat
public AVAudioFormat(AudioStreamBasicDescription asbd)
-
AVAudioFormat
public AVAudioFormat(AudioStreamBasicDescription asbd, AVAudioChannelLayout layout)
-
AVAudioFormat
public AVAudioFormat(double sampleRate, int channels)
-
AVAudioFormat
public AVAudioFormat(double sampleRate, AVAudioChannelLayout layout)
-
AVAudioFormat
public AVAudioFormat(AVAudioCommonFormat format, double sampleRate, int channels, boolean interleaved)
-
AVAudioFormat
public AVAudioFormat(AVAudioCommonFormat format, double sampleRate, boolean interleaved, AVAudioChannelLayout layout)
-
AVAudioFormat
public AVAudioFormat(AVAudioSettings settings)
-
AVAudioFormat
public AVAudioFormat(CMAudioFormatDescription formatDescription)
- Since:
- Available in iOS 9.0 and later.
-
AVAudioFormat
public AVAudioFormat(NSCoder decoder)
-
-
Method Detail
-
isStandard
public boolean isStandard()
-
getCommonFormat
public AVAudioCommonFormat getCommonFormat()
-
getChannelCount
public int getChannelCount()
-
getSampleRate
public double getSampleRate()
-
isInterleaved
public boolean isInterleaved()
-
getStreamDescription
public AudioStreamBasicDescription getStreamDescription()
-
getChannelLayout
public AVAudioChannelLayout getChannelLayout()
-
getMagicCookie
public NSData getMagicCookie()
- Since:
- Available in iOS 10.0 and later.
-
setMagicCookie
public void setMagicCookie(NSData v)
- Since:
- Available in iOS 10.0 and later.
-
getSettings
public AVAudioSettings getSettings()
-
getFormatDescription
public CMAudioFormatDescription getFormatDescription()
- Since:
- Available in iOS 9.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
protected long init(AudioStreamBasicDescription asbd)
-
init
protected long init(AudioStreamBasicDescription asbd, AVAudioChannelLayout layout)
-
init
protected long init(double sampleRate, int channels)
-
init
protected long init(double sampleRate, AVAudioChannelLayout layout)
-
init
protected long init(AVAudioCommonFormat format, double sampleRate, int channels, boolean interleaved)
-
init
protected long init(AVAudioCommonFormat format, double sampleRate, boolean interleaved, AVAudioChannelLayout layout)
-
init
protected long init(AVAudioSettings settings)
-
init
protected long init(CMAudioFormatDescription formatDescription)
- Since:
- Available in iOS 9.0 and later.
-
equalsTo
public boolean equalsTo(AVAudioFormat object)
-
init
protected long init(NSCoder decoder)
-
-