Package apple.vision

Class VNBarcodeObservation

    • Constructor Detail

      • VNBarcodeObservation

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

        @Nullable
        public @Nullable CIBarcodeDescriptor barcodeDescriptor()
        An object that provides symbology-specific data for the barcode.
      • 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)
      • payloadStringValue

        @Nullable
        public @Nullable java.lang.String payloadStringValue()
        The string representation of the barcode's payload. Depending on the symbology of the barcode and/or the payload data itself, a string representation of the payload may not be available.
      • 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()
      • _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
        Overrides:
        _supportsSecureCoding in class VNRectangleObservation
      • symbology

        @NotNull
        public @NotNull java.lang.String symbology()
        The symbology of the detected barcode.
      • version_static

        public static long version_static()
      • observationWithRequestRevisionBoundingBox

        public static VNBarcodeObservation observationWithRequestRevisionBoundingBox​(long requestRevision,
                                                                                     CGRect boundingBox)
      • rectangleObservationWithRequestRevisionTopLeftBottomLeftBottomRightTopRight

        @Deprecated
        public static VNBarcodeObservation rectangleObservationWithRequestRevisionTopLeftBottomLeftBottomRightTopRight​(long requestRevision,
                                                                                                                       CGPoint topLeft,
                                                                                                                       CGPoint bottomLeft,
                                                                                                                       CGPoint bottomRight,
                                                                                                                       CGPoint topRight)
        Deprecated.
      • isColorInverted

        public boolean isColorInverted()
        A boolean indicating if the barcode is color inverted API-Since: 17.0
      • isGS1DataCarrier

        public boolean isGS1DataCarrier()
        Boolean indicating if the barcode carries any GS1 application specific data API-Since: 17.0
      • payloadData

        @Nullable
        public @Nullable NSData payloadData()
        The raw data representation of the barcode's payload if available. API-Since: 17.0
      • rectangleObservationWithRequestRevisionTopLeftTopRightBottomRightBottomLeft

        public static VNBarcodeObservation rectangleObservationWithRequestRevisionTopLeftTopRightBottomRightBottomLeft​(long requestRevision,
                                                                                                                       CGPoint topLeft,
                                                                                                                       CGPoint topRight,
                                                                                                                       CGPoint bottomRight,
                                                                                                                       CGPoint bottomLeft)
      • supplementalCompositeType

        public long supplementalCompositeType()
        Represents the supplemental composite type. Currently, this can only refer to the composite flag of the 2D symbology as part of a GS1 composite symbology. This attribute only exists when the primary descriptor is the 1D symbology of a GS1 composite symbology, and of which a valid 2D counterpart has been coalesced into. API-Since: 17.0
      • supplementalPayloadData

        @Nullable
        public @Nullable NSData supplementalPayloadData()
        Decode the supplemental code in the descriptor as a string value. Note: this property might be expensive the first time it is accessed When non-NULL, and if the descriptor has supplemental raw payload data, the pointee will be set to the decoded supplemental payload raw data value. API-Since: 17.0
      • supplementalPayloadString

        @Nullable
        public @Nullable java.lang.String supplementalPayloadString()
        Decode the supplemental code in the descriptor as a string value. Note: this property might be expensive the first time it is accessed When non-NULL, and if the descriptor has supplemental raw payload data, the pointee will be set to the decoded supplemental payload string value. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.