Class SCSensitivityAnalyzer

  • All Implemented Interfaces:
    NSObject

    public class SCSensitivityAnalyzer
    extends NSObject
    Main class for content sensitivity analysis API-Since: 17.0
    • Constructor Detail

      • SCSensitivityAnalyzer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SCSensitivityAnalyzer allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • analysisPolicy

        public long analysisPolicy()
        Current SCSensitivityAnalysisPolicy set on device. Can be used to determine whether analysis is available or not
      • analyzeCGImageCompletionHandler

        public void analyzeCGImageCompletionHandler​(@NotNull
                                                    @NotNull CGImageRef image,
                                                    @NotNull
                                                    @NotNull SCSensitivityAnalyzer.Block_analyzeCGImageCompletionHandler completionHandler)
        Analyze sensitivity of CGImage in memory
        Parameters:
        image - CGImage reference
        completionHandler - Block to be called on completion (callback is called on unspecified queue)
      • analyzeImageFileCompletionHandler

        public void analyzeImageFileCompletionHandler​(@NotNull
                                                      @NotNull NSURL fileURL,
                                                      @NotNull
                                                      @NotNull SCSensitivityAnalyzer.Block_analyzeImageFileCompletionHandler completionHandler)
        Analyze sensitivity of Image File on disk (only local fileURL)
        Parameters:
        fileURL - Image file location on disk
        completionHandler - Block to be called on completion (callback is called on unspecified queue)
      • analyzeVideoFileCompletionHandler

        @NotNull
        public @NotNull NSProgress analyzeVideoFileCompletionHandler​(@NotNull
                                                                     @NotNull NSURL fileURL,
                                                                     @NotNull
                                                                     @NotNull SCSensitivityAnalyzer.Block_analyzeVideoFileCompletionHandler completionHandler)
        Analyze sensitivity of Video File on disk.
        Parameters:
        fileURL - Video file location on disk
        completionHandler - Block to be called on completion (callback is called on unspecified queue)
        Returns:
        An NSProgress instance for tracking video file analysis progress
      • 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()
      • 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)
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()