Class MPMediaQuery

    • Constructor Detail

      • MPMediaQuery

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • albumsQuery

        public static MPMediaQuery albumsQuery()
        Base queries which can be used directly or as the basis for custom queries. The groupingType for these queries is preset to the appropriate type for the query.
      • allocWithZone

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

        public static MPMediaQuery audiobooksQuery()
      • 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()
      • compilationsQuery

        public static MPMediaQuery compilationsQuery()
      • composersQuery

        public static MPMediaQuery composersQuery()
      • 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()
      • playlistsQuery

        public static MPMediaQuery playlistsQuery()
      • podcastsQuery

        public static MPMediaQuery podcastsQuery()
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • addFilterPredicate

        public void addFilterPredicate​(MPMediaPredicate predicate)
      • collections

        public NSArray<? extends MPMediaItemCollection> collections()
        Returns an array of MPMediaItemCollections matching the query filter predicates. The collections are grouped by the groupingType.
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • groupingType

        public long groupingType()
        The property used to group collections, defaults to MPMediaGroupingTitle.
      • itemSections

        public NSArray<? extends MPMediaQuerySection> itemSections()
        Returns an array of MPMediaQuerySection instances representing the section grouping of the query's items or collections. May be nil in cases where no section grouping of the items or collections is appropriate.
      • items

        public NSArray<? extends MPMediaItem> items()
        Returns an array of MPMediaItems matching the query filter predicates. If no items match this method returns an empty array, otherwise returns nil if an error prevents the items from being fetched.
      • removeFilterPredicate

        public void removeFilterPredicate​(MPMediaPredicate predicate)
      • setGroupingType

        public void setGroupingType​(long value)
        The property used to group collections, defaults to MPMediaGroupingTitle.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding