Class AVAudioSessionPortDescription

  • All Implemented Interfaces:
    NSObject

    public class AVAudioSessionPortDescription
    extends NSObject
    Information about a port, a physical connector or audio device.
    • Constructor Detail

      • AVAudioSessionPortDescription

        protected AVAudioSessionPortDescription​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • UID

        public java.lang.String UID()
        A system-assigned unique identifier for the associated hardware port
      • hasHardwareVoiceCallProcessing

        public boolean hasHardwareVoiceCallProcessing()
        This property's value will be true if the associated hardware port has built-in processing for two-way voice communication. Applications that use their own proprietary voice processing algorithms should use this property to decide when to disable processing. On the other hand, if using Apple's Voice Processing I/O unit (subtype kAudioUnitSubType_VoiceProcessingIO), the system will automatically manage this for the application. In particular, ports of type AVAudioSessionPortBluetoothHFP and AVAudioSessionPortCarAudio often have hardware voice processing.
      • portName

        public java.lang.String portName()
        A descriptive name for the associated hardware port
      • portType

        public java.lang.String portType()
      • preferredDataSource

        public AVAudioSessionDataSourceDescription preferredDataSource()
        This property reflects the application's preferred data source for the Port. Will be nil if there are no selectable data sources or if no preference has been set.
      • selectedDataSource

        public AVAudioSessionDataSourceDescription selectedDataSource()
        Will be nil if there are no selectable data sources. In all other cases, this property reflects the currently selected data source.
      • setPreferredDataSourceError

        public boolean setPreferredDataSourceError​(AVAudioSessionDataSourceDescription dataSource,
                                                   org.moe.natj.general.ptr.Ptr<NSError> outError)
        Select the preferred data source for this port. The input dataSource parameter must be one of the dataSources exposed by the dataSources property. Setting a nil value will clear the preference. Note: if the port is part of the active audio route, changing the data source will likely result in a route reconfiguration. If the port is not part of the active route, selecting a new data source will not result in an immediate route reconfiguration. Use AVAudioSession's -setPreferredInput:error: method to activate the port.