Package org.robovm.apple.avfoundation
Class AVAudioSessionPortDescription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVAudioSessionPortDescription
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class AVAudioSessionPortDescription extends NSObject
- Since:
- Available in iOS 6.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAudioSessionPortDescription.AVAudioSessionPortDescriptionPtr
-
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 AVAudioSessionPortDescription()
protected
AVAudioSessionPortDescription(NSObject.Handle h, long handle)
protected
AVAudioSessionPortDescription(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSArray<AVAudioSessionChannelDescription>
getChannels()
NSArray<AVAudioSessionDataSourceDescription>
getDataSources()
java.lang.String
getPortName()
AVAudioSessionPort
getPortType()
AVAudioSessionDataSourceDescription
getPreferredDataSource()
AVAudioSessionDataSourceDescription
getSelectedDataSource()
java.lang.String
getUID()
boolean
hasHardwareVoiceCallProcessing()
boolean
setPreferredDataSource(AVAudioSessionDataSourceDescription dataSource)
-
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
-
AVAudioSessionPortDescription
public AVAudioSessionPortDescription()
-
AVAudioSessionPortDescription
protected AVAudioSessionPortDescription(NSObject.Handle h, long handle)
-
AVAudioSessionPortDescription
protected AVAudioSessionPortDescription(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getPortType
public AVAudioSessionPort getPortType()
- Since:
- Available in iOS 6.0 and later.
-
getPortName
public java.lang.String getPortName()
- Since:
- Available in iOS 6.0 and later.
-
getUID
public java.lang.String getUID()
- Since:
- Available in iOS 6.0 and later.
-
hasHardwareVoiceCallProcessing
public boolean hasHardwareVoiceCallProcessing()
- Since:
- Available in iOS 10.0 and later.
-
getChannels
public NSArray<AVAudioSessionChannelDescription> getChannels()
- Since:
- Available in iOS 6.0 and later.
-
getDataSources
public NSArray<AVAudioSessionDataSourceDescription> getDataSources()
- Since:
- Available in iOS 7.0 and later.
-
getSelectedDataSource
public AVAudioSessionDataSourceDescription getSelectedDataSource()
- Since:
- Available in iOS 7.0 and later.
-
getPreferredDataSource
public AVAudioSessionDataSourceDescription getPreferredDataSource()
- Since:
- Available in iOS 7.0 and later.
-
setPreferredDataSource
public boolean setPreferredDataSource(AVAudioSessionDataSourceDescription dataSource) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
-