Class SHMediaLibrary

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class SHMediaLibrary
    extends NSObject
    Deprecated.
    [@c] SHMediaLibrary represents the user's synced Shazam library. You can add new @c SHMediaItem instances to the user's library. API-Since: 15.0 Deprecated-Since: 100000.0 Deprecated-Message: Use SHLibrary instead
    • Constructor Detail

      • SHMediaLibrary

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • addMediaItemsCompletionHandler

        public void addMediaItemsCompletionHandler​(@NotNull
                                                   @NotNull NSArray<? extends SHMediaItem> mediaItems,
                                                   @NotNull
                                                   @NotNull SHMediaLibrary.Block_addMediaItemsCompletionHandler completionHandler)
        Deprecated.
        Adds an array of media items to the user's Shazam library. For each @c SHMediaItem instance passed in, the following @c SHMediaItemProperty keys will be saved: [@c] SHMediaItemShazamID, @c SHMediaItemTitle, @c SHMediaItemSubtitle. If @c SHMediaItemSubtitle is not set it may fallback to use @c SHMediaItemArtist if available. [@note] @c SHMediaItemShazamID is required for each @c SHMediaItem to be considered valid. [@c] SHMediaItemShazamID must be a numeric only string
        Parameters:
        mediaItems - An array containing the @c SHMediaItem objects to be added to the library.
        completionHandler - A block called after all valid @c SHMediaItem objects have been added to the library. If an error occurred, the error parameter will be populated.
      • allocWithZone

        public static SHMediaLibrary allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • 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)
        Deprecated.
      • classFallbacksForKeyedArchiver

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

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

        public static java.lang.String debugDescription_static()
        Deprecated.
      • defaultLibrary

        @NotNull
        public static @NotNull SHMediaLibrary defaultLibrary()
        Deprecated.
        Returns an instance of the default Shazam library.
      • description_static

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

        public static long hash_static()
        Deprecated.
      • instanceMethodSignatureForSelector

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

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

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

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

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

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

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • superclass_static

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

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.