Class CIAztecCodeDescriptor

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class CIAztecCodeDescriptor
    extends CIBarcodeDescriptor
    CIAztecCodeDescriptor CIAztecCodeDescriptor is a concrete subclass of CIBarcodeDescriptor that defines an abstract representation of an Aztec Code symbol. CIAztecCodeDescriptor may not be instantiated directly.
    • Constructor Detail

      • CIAztecCodeDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

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

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • dataCodewordCount

        public long dataCodewordCount()
        [@property] dataCodewordCount The number of non-error-correction codewords carried by the Aztec code symbol. Used to determine the level of error correction in conjunction with the number of data layers. Valid values are 1...2048. Compact symbols can have up to 64 message codewords. Note that this value can exceed the number of message codewords allowed by the number of data layers in this symbol. In this case, the actual number of message codewords is 1024 fewer than this value and the message payload is to be interpreted in an application-defined manner.
      • debugDescription_static

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

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

        public static CIAztecCodeDescriptor descriptorWithPayloadIsCompactLayerCountDataCodewordCount​(NSData errorCorrectedPayload,
                                                                                                      boolean isCompact,
                                                                                                      long layerCount,
                                                                                                      long dataCodewordCount)
        Construct an autoreleased descriptor that can be used as input to CIBarcodeGenerator
      • errorCorrectedPayload

        public NSData errorCorrectedPayload()
        [@property] errorCorrectedPayload The error-corrected codewords that comprise the Aztec code symbol. Aztec Codes are formally specified in ISO/IEC 24778:2008(E). The error corrected payload consists of the 6-, 8-, 10-, or 12-bit message codewords produced at the end of the step described in section 7.3.1.2 "Formation of data codewords", which exists immediately prior to adding error correction. These codewords have dummy bits inserted to ensure that an entire codeword isn't all 0's or all 1's. Clients will need to remove these extra bits as part of interpreting the payload.
      • hash_static

        public static long hash_static()
      • initWithPayloadIsCompactLayerCountDataCodewordCount

        public CIAztecCodeDescriptor initWithPayloadIsCompactLayerCountDataCodewordCount​(NSData errorCorrectedPayload,
                                                                                         boolean isCompact,
                                                                                         long layerCount,
                                                                                         long dataCodewordCount)
        Initializes a descriptor that can be used as input to CIBarcodeGenerator
      • instanceMethodSignatureForSelector

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

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

        public boolean isCompact()
        [@property] isCompact A BOOL indicating whether the symbol is compact. Compact Aztec symbols use one-fewer ring in the central finder pattern than full-range Aztec symbols of the same number of data layers.
      • isSubclassOfClass

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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • layerCount

        public long layerCount()
        [@property] layerCount The number of data layers in the Aztec code symbol. Combined with the isCompact property, the number of data layers determines the number of modules in the Aztec Code symbol. Valid values range from 1 to 32. Compact symbols can have up to 4 data layers. The number of data layers also determines the number of bits in each data codeword of the message carried by the Aztec Code symbol.
      • new_objc

        public static java.lang.Object new_objc()
      • 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 CIBarcodeDescriptor
      • version_static

        public static long version_static()