Class CNDecision

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class CNDecision
    extends NSObject
    implements NSCopying
    Represents a decision to focus on a specific detectionID or detectionGroupID; optionally strong. A strong decision keeps focus for as long as possible. API-Since: 17.0
    • Constructor Detail

      • CNDecision

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CNDecision allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • copyWithZone

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

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • detectionGroupID

        public long detectionGroupID()
        The detectionGroupID of the detection to focus on if this is a group decision.
      • detectionID

        public long detectionID()
        The detectionID of the detection to focus on if this is not a group decision.
      • hash_static

        public static long hash_static()
      • initWithTimeDetectionGroupIDStrong

        public CNDecision initWithTimeDetectionGroupIDStrong​(CMTime time,
                                                             long detectionGroupID,
                                                             boolean isStrong)
        Make a decision to focus on the best among those detections with the same detectionGroupID. A strong decision keeps focus for as long as possible.
      • initWithTimeDetectionIDStrong

        public CNDecision initWithTimeDetectionIDStrong​(CMTime time,
                                                        long detectionID,
                                                        boolean isStrong)
        Make a decision to focus on the detection with the given detectionID. A strong decision keeps focus for as long as possible.
      • instanceMethodSignatureForSelector

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

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

        public boolean isGroupDecision()
        Whether this is a group decision or not.
      • isStrongDecision

        public boolean isStrongDecision()
        Whether this is a strong decision or not. A strong decision keeps focus for as long as possible.
      • isSubclassOfClass

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

        public boolean isUserDecision()
        Whether this is a user-created decision, or a base decision.
      • 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()
      • time

        public CMTime time()
        The first presentation time at which the subject should be in focus. The rack focus transition to the subject occurs prior to this time.
      • useStoredAccessor

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

        public static long version_static()