Class AVAudioSessionDataSourceDescription

  • All Implemented Interfaces:
    NSObject

    public class AVAudioSessionDataSourceDescription
    extends NSObject
    Information about one of potentially multiple data sources associated with a port.
    • Constructor Detail

      • AVAudioSessionDataSourceDescription

        protected AVAudioSessionDataSourceDescription​(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()
      • dataSourceID

        public NSNumber dataSourceID()
        System-assigned ID for the data source.
      • dataSourceName

        public java.lang.String dataSourceName()
        Human-readable name for the data source.
      • location

        public java.lang.String location()
        Describes the general location of a data source. Will be nil for data sources for which the location is not known.
      • orientation

        public java.lang.String orientation()
        Describes the orientation of a data source. Will be nil for data sources for which the orientation is not known.
      • preferredPolarPattern

        public java.lang.String preferredPolarPattern()
        Describes the preferred polar pattern. Will be nil for data sources that have no selectable patterns or if no preference has been set.
      • selectedPolarPattern

        public java.lang.String selectedPolarPattern()
        Describes the currently selected polar pattern. Will be nil for data sources that have no selectable patterns.
      • setPreferredPolarPatternError

        public boolean setPreferredPolarPatternError​(java.lang.String pattern,
                                                     org.moe.natj.general.ptr.Ptr<NSError> outError)
        Select the desired polar pattern from the set of available patterns. Setting a nil value will clear the preference. [@note] If the owning port and data source are part of the active audio route, changing the polar pattern will likely result in a route reconfiguration. If the owning port and data source are not part of the active route, selecting a polar pattern will not result in an immediate route reconfiguration. Use AVAudioSession's setPreferredInput:error: method to activate the port. Use setPreferredDataSource:error: to active the data source on the port. You must call setPreferredInputOrientation:error: on the AVAudioSession if you chose the AVAudioSessionPolarPatternStereo polar pattern.
      • supportedPolarPatterns

        public NSArray<java.lang.String> supportedPolarPatterns()
        Array of one or more AVAudioSessionPolarPatterns describing the supported polar patterns for a data source. Will be nil for data sources that have no selectable patterns.