Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion english/androidjava/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ is_root: true
| [com.aspose.barcode](./com.aspose.barcode) | This package contains classes with general purposes for barcodes generation and drawing |
| [com.aspose.barcode.barcoderecognition](./com.aspose.barcode.barcoderecognition) | This package contains tools for 1D/2D barcode recognition. |
| [com.aspose.barcode.complexbarcode](./com.aspose.barcode.complexbarcode) | This package contains tools for processing complex barcode |
| [com.aspose.barcode.component](./com.aspose.barcode.component) | |
| [com.aspose.barcode.component.barcodescanner](./com.aspose.barcode.component.barcodescanner) | |
| [com.aspose.barcode.component.barcodescanner.recognitionareaview](./com.aspose.barcode.component.barcodescanner.recognitionareaview) | |
| [com.aspose.barcode.generation](./com.aspose.barcode.generation) | This package contains tools for generating barcode. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ This package contains tools for 1D/2D barcode recognition.
| [RecognitionAbortedException](../com.aspose.barcode.barcoderecognition/recognitionabortedexception) | Represents recognition abort exception which is thrown in timeout exceeding during recognition with BarCodeReader. |
| [RecognitionOptions](../com.aspose.barcode.barcoderecognition/recognitionoptions) | |
| [SingleDecodeType](../com.aspose.barcode.barcoderecognition/singledecodetype) | Single decode type. |
| [TextEncodingDetection](../com.aspose.barcode.barcoderecognition/textencodingdetection) | |

## Interfaces

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: AustraliaPostCustomerInformationDecoder
second_title: Aspose.BarCode for Android via Java API Reference
description: Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.
type: docs
weight: 48
weight: 49
url: /androidjava/com.aspose.barcode.barcoderecognition/australiapostcustomerinformationdecoder/
---```
public interface AustraliaPostCustomerInformationDecoder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: BarcodeQualityMode
second_title: Aspose.BarCode for Android via Java API Reference
description:
type: docs
weight: 49
weight: 50
url: /androidjava/com.aspose.barcode.barcoderecognition/barcodequalitymode/
---
**Inheritance:**
Expand Down Expand Up @@ -37,6 +37,7 @@ Mode which enables methods to recognize barcode elements with the selected quali
| --- | --- |
| [<T>valueOf(Class<T> arg0, String arg1)](#-T-valueOf-java.lang.Class-T--java.lang.String-) | |
| [compareTo(E arg0)](#compareTo-E-) | |
| [describeConstable()](#describeConstable--) | |
| [equals(Object arg0)](#equals-java.lang.Object-) | |
| [fromValue(int value)](#fromValue-int-) | |
| [getClass()](#getClass--) | |
Expand Down Expand Up @@ -108,6 +109,16 @@ public final int compareTo(E arg0)

**Returns:**
int
### describeConstable() {#describeConstable--}
```
public final Optional<Enum.EnumDesc<E>> describeConstable()
```




**Returns:**
java.util.Optional<java.lang.Enum.EnumDesc<E>>
### equals(Object arg0) {#equals-java.lang.Object-}
```
public final boolean equals(Object arg0)
Expand Down Expand Up @@ -259,7 +270,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,22 @@ public String getCodeText(Charset encoding)

Gets the code text with encoding.

--------------------

> ```
> This example shows how to use ```
> GetCodeText
> ```:
>
> BarcodeGenerator gen = new BarcodeGenerator(EncodeTypes.DATA_MATRIX);
> gen.setCodeText("\u8eca\u7a2e\u540d", Charset.forName("932"));
> gen.save("barcode.png", BarCodeImageFormat.PNG);
>
> BarCodeReader reader = new BarCodeReader("barcode.png", DecodeType.DATA_MATRIX);
> for(BarCodeResult result : reader.readBarCodes())
> System.out.println("BarCode CodeText: " + result.getCodeText(Charset.forName("932")));
> ```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
Expand Down Expand Up @@ -264,7 +280,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,34 @@ public boolean getDetectEncoding()
```


The flag which force engine to detect codetext encoding for Unicode codesets. Default value is true. Example BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.QR); generator.setCodeText("\\u0421\\u043b\\u043e\\u0432\\u043e", Charset.forName("UTF-8")); Bitmap im = generator.generateBarcodeImage(); //detects encoding for Unicode codesets is enabled BarCodeReader reader = new BarCodeReader(im, DecodeType.QR); reader.getBarcodeSettings().setDetectEncoding(true); for(BarCodeResult result : reader.readBarCodes()) System.out.println("BarCode CodeText: " + result.getCodeText()); //detect encoding is disabled BarCodeReader reader = new BarCodeReader(im, DecodeType.QR); reader.getBarcodeSettings().setDetectEncoding(false); for(BarCodeResult result : reader.readBarCodes()) System.out.println("BarCode CodeText: " + result.getCodeText());
The flag which force engine to detect codetext encoding for Unicode codesets. Default value is true.

--------------------

> ```
> This sample shows how to detect text encoding on the fly if DetectEncoding is enabled
>
>
> ByteArrayOutputStream ms = new ByteArrayOutputStream();
> BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.QR);
> generator.setCodeText("\u0421\u043b\u043e\u0432\u043e", StandardCharsets.UTF_8);
> generator.save(ms, BarCodeImageFormat.PNG);
>
> BarCodeReader reader = new BarCodeReader(new ByteArrayInputStream(ms.toByteArray()), DecodeType.QR);
> reader.getBarcodeSettings().setDetectEncoding(true);
> for (BarCodeResult result : reader.readBarCodes())
> System.out.println("BarCode CodeText: " + result.getCodeText());
> //detect encoding is disabled
> reader = new BarCodeReader(new ByteArrayInputStream(ms.toByteArray()), DecodeType.QR);
> reader.getBarcodeSettings().setDetectEncoding(false);
> for (BarCodeResult result : reader.readBarCodes())
> System.out.println("BarCode CodeText: " + result.getCodeText());
> ```

Value: The flag which force engine to detect codetext encoding for Unicode codesets

**Returns:**
boolean - The flag which force engine to detect codetext encoding for Unicode codesets
boolean
### getStripFNC() {#getStripFNC--}
```
public boolean getStripFNC()
Expand Down Expand Up @@ -143,7 +167,31 @@ public void setDetectEncoding(boolean value)
```


The flag which force engine to detect codetext encoding for Unicode codesets. Default value is true. Example BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.QR, "\\u0421\\u043b\\u043e\\u0432\\u043e")) generator.getParameters().getBarcode().getQR().setCodeTextEncoding(Charset.forName("UTF-8")); Bitmap im = generator.generateBarcodeImage(); //detects encoding for Unicode codesets is enabled BarCodeReader reader = new BarCodeReader(im, DecodeType.QR); reader.getBarcodeSettings().setDetectEncoding(true); for(BarCodeResult result : reader.readBarCodes()) System.out.println("BarCode CodeText: " + result.getCodeText()); //detect encoding is disabled BarCodeReader reader = new BarCodeReader(im, DecodeType.QR); reader.getBarcodeSettings().setDetectEncoding(false); for(BarCodeResult result : reader.readBarCodes()) System.out.println("BarCode CodeText: " + result.getCodeText());
The flag which force engine to detect codetext encoding for Unicode codesets. Default value is true.

--------------------

> ```
> This sample shows how to detect text encoding on the fly if DetectEncoding is enabled
>
>
> ByteArrayOutputStream ms = new ByteArrayOutputStream();
> BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.QR);
> generator.setCodeText("\u0421\u043b\u043e\u0432\u043e", StandardCharsets.UTF_8);
> generator.save(ms, BarCodeImageFormat.PNG);
>
> BarCodeReader reader = new BarCodeReader(new ByteArrayInputStream(ms.toByteArray()), DecodeType.QR);
> reader.getBarcodeSettings().setDetectEncoding(true);
> for (BarCodeResult result : reader.readBarCodes())
> System.out.println("BarCode CodeText: " + result.getCodeText());
> //detect encoding is disabled
> reader = new BarCodeReader(new ByteArrayInputStream(ms.toByteArray()), DecodeType.QR);
> reader.getBarcodeSettings().setDetectEncoding(false);
> for (BarCodeResult result : reader.readBarCodes())
> System.out.println("BarCode CodeText: " + result.getCodeText());
> ```

Value: The flag which force engine to detect codetext encoding for Unicode codesets

**Parameters:**
| Parameter | Type | Description |
Expand Down Expand Up @@ -183,7 +231,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ url: /androidjava/com.aspose.barcode.barcoderecognition/basedecodetype/
---
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
android.os.Parcelable
```
public abstract class BaseDecodeType implements Parcelable
public abstract class BaseDecodeType
```

Base class for MultyDecodeType and SingleDecodeType.
Expand All @@ -23,16 +20,18 @@ Base class for MultyDecodeType and SingleDecodeType.
> This sample shows how to use BaseDecodeType with SingleDecodeType and MultyDecodeType
>
> BaseDecodeType decodeOne = DecodeType.CODE_128;
> BaseDecodeType decodeTwo = new MultyDecodeType(DecodeType.CODE_128, DecodeType.CODE_39, DecodeType.CODE_39_FULL_ASCII);
> BaseDecodeType decodeTwo = new MultyDecodeType(DecodeType.CODE_128, DecodeType.CODE_39_STANDARD, DecodeType.CODE_39_FULL_ASCII);
> ```
## Methods

| Method | Description |
| --- | --- |
| [containsAny(BaseDecodeType[] types)](#containsAny-com.aspose.barcode.barcoderecognition.BaseDecodeType...-) | Determines whether any of the given decode types is included into |
| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified [BaseDecodeType](../../com.aspose.barcode.barcoderecognition/basedecodetype) value. |
| [equals(MultyDecodeType other)](#equals-com.aspose.barcode.barcoderecognition.MultyDecodeType-) | Returns a value indicating whether this instance is equal to a specified [BaseDecodeType](../../com.aspose.barcode.barcoderecognition/basedecodetype) value. |
| [equals(SingleDecodeType other)](#equals-com.aspose.barcode.barcoderecognition.SingleDecodeType-) | Returns a value indicating whether this instance is equal to a specified [BaseDecodeType](../../com.aspose.barcode.barcoderecognition/basedecodetype) value. |
| [equals(Object other)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified [BaseDecodeType](../../com.aspose.barcode.barcoderecognition/basedecodetype) value. |
| [getClass()](#getClass--) | |
| [hashCode()](#hashCode--) | Returns the hash code for this instance. |
| [hashCode()](#hashCode--) | |
| [notify()](#notify--) | |
| [notifyAll()](#notifyAll--) | |
| [toString()](#toString--) | |
Expand All @@ -57,9 +56,24 @@ Determines whether any of the given decode types is included into

**Returns:**
boolean - Value is a true if any types are included into.
### equals(Object obj) {#equals-java.lang.Object-}
### equals(MultyDecodeType other) {#equals-com.aspose.barcode.barcoderecognition.MultyDecodeType-}
```
public boolean equals(MultyDecodeType other)
```


Returns a value indicating whether this instance is equal to a specified [BaseDecodeType](../../com.aspose.barcode.barcoderecognition/basedecodetype) value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | [MultyDecodeType](../../com.aspose.barcode.barcoderecognition/multydecodetype) | An java.lang.Object value to compare to this instance. |

**Returns:**
boolean - True if obj has the same value as this instance; otherwise, false.
### equals(SingleDecodeType other) {#equals-com.aspose.barcode.barcoderecognition.SingleDecodeType-}
```
public boolean equals(Object obj)
public boolean equals(SingleDecodeType other)
```


Expand All @@ -68,7 +82,22 @@ Returns a value indicating whether this instance is equal to a specified [BaseDe
**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object | An System.Object value to compare to this instance. |
| other | [SingleDecodeType](../../com.aspose.barcode.barcoderecognition/singledecodetype) | An java.lang.Object value to compare to this instance. |

**Returns:**
boolean - True if obj has the same value as this instance; otherwise, false.
### equals(Object other) {#equals-java.lang.Object-}
```
public boolean equals(Object other)
```


Returns a value indicating whether this instance is equal to a specified [BaseDecodeType](../../com.aspose.barcode.barcoderecognition/basedecodetype) value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| other | java.lang.Object | An java.lang.Object value to compare to this instance. |

**Returns:**
boolean - True if obj has the same value as this instance; otherwise, false.
Expand All @@ -84,14 +113,14 @@ public final native Class<?> getClass()
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public int hashCode()
public native int hashCode()
```


Returns the hash code for this instance.


**Returns:**
int - A 32-bit signed integer hash code.
int
### notify() {#notify--}
```
public final native void notify()
Expand Down Expand Up @@ -179,7 +208,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public final void wait()

### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
public final void wait(long arg0)
```


Expand Down
Loading