Class AVAudioSessionDataSourceDescription

  • All Implemented Interfaces:
    NSObject

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

      • AVAudioSessionDataSourceDescription

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

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

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

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

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

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • dataSourceID

        @NotNull
        public @NotNull NSNumber dataSourceID()
        System-assigned ID for the data source. API-Since: 6.0
      • dataSourceName

        @NotNull
        public @NotNull java.lang.String dataSourceName()
        Human-readable name for the data source. API-Since: 6.0
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • location

        @Nullable
        public @Nullable 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. API-Since: 7.0
      • orientation

        @Nullable
        public @Nullable java.lang.String orientation()
        Describes the orientation of a data source. Will be nil for data sources for which the orientation is not known. API-Since: 7.0
      • preferredPolarPattern

        @Nullable
        public @Nullable 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. API-Since: 7.0
      • resolveClassMethod

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

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

        @Nullable
        public @Nullable java.lang.String selectedPolarPattern()
        Describes the currently selected polar pattern. Will be nil for data sources that have no selectable patterns. API-Since: 7.0
      • setPreferredPolarPatternError

        public boolean setPreferredPolarPatternError​(@Nullable
                                                     @Nullable java.lang.String pattern,
                                                     @Nullable
                                                     @Nullable 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. API-Since: 7.0
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        @Nullable
        public @Nullable 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. API-Since: 7.0
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.