Package apple.vision

Class VNDetectBarcodesRequest

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class VNDetectBarcodesRequest
    extends VNImageBasedRequest
    A request that detects barcodes in an image. This request will return zero or more VNBarcodeObservation objects objects which describe the barcodes detected in an image. API-Since: 11.0
    • Constructor Detail

      • VNDetectBarcodesRequest

        protected VNDetectBarcodesRequest​(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()
      • 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)
      • setSymbologies

        public void setSymbologies​(@NotNull
                                   @NotNull NSArray<java.lang.String> value)
        The collection of barcode symbologies that are to be detected in the image. The default is to scan for all possible symbologies. Setting a revision on the request will reset the symbologies to all symbologies for the specified revision.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        @NotNull
        @Deprecated
        public static @NotNull NSArray<java.lang.String> supportedSymbologies()
        Deprecated.
        Obtain the collection of barcode symbologies currently recognized by the Vision framework. Calling this method could be a potentially expensive operation.
        Returns:
        An array of VNBarcodeSymbology objects describing the symbologies currently supported by the Vision framework. API-Since: 11.0 Deprecated-Since: 15.0
      • symbologies

        @NotNull
        public @NotNull NSArray<java.lang.String> symbologies()
        The collection of barcode symbologies that are to be detected in the image. The default is to scan for all possible symbologies. Setting a revision on the request will reset the symbologies to all symbologies for the specified revision.
      • version_static

        public static long version_static()
      • currentRevision

        public static long currentRevision()
      • defaultRevision

        public static long defaultRevision()
      • supportedRevisions

        @NotNull
        public static @NotNull NSIndexSet supportedRevisions()
      • supportedSymbologiesAndReturnError

        @Nullable
        public @Nullable NSArray<java.lang.String> supportedSymbologiesAndReturnError​(@Nullable
                                                                                      @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Obtain the collection of barcode symbologies that can be recognized by the request in its current configuration. Calling this method could be a potentially expensive operation.
        Returns:
        An array of VNBarcodeSymbology objects describing the symbologies recognized by the request in its current configuration. API-Since: 15.0
      • coalesceCompositeSymbologies

        public boolean coalesceCompositeSymbologies()
        An option to coalesce multiple codes if applicable based on the symbology API-Since: 17.0
      • setCoalesceCompositeSymbologies

        public void setCoalesceCompositeSymbologies​(boolean value)
        An option to coalesce multiple codes if applicable based on the symbology API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.