BarcodeRecognitionContract
Inheritance: java.lang.Object, androidx.activity.result.contract.ActivityResultContract
public class BarcodeRecognitionContract extends ActivityResultContract<BarcodeScannerPreferences,BarcodeRecognitionResultsHandlerParcelable>
Internal BarcodeRecognitionContract \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u044b\u0437\u043e\u0432\u0430 BarcodeScannerActivity \u0438\u0437 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0439 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438
Constructors
Constructor | Description |
---|---|
BarcodeRecognitionContract() |
Methods
BarcodeRecognitionContract()
public BarcodeRecognitionContract()
createIntent(Context arg0, I arg1)
public abstract Intent createIntent(Context arg0, I arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | android.content.Context | |
arg1 | I |
Returns: android.content.Intent
createIntent(Context context, BarcodeScannerPreferences barcodeScannerPreferences)
public Intent createIntent(Context context, BarcodeScannerPreferences barcodeScannerPreferences)
Parameters:
Parameter | Type | Description |
---|---|---|
context | android.content.Context | |
barcodeScannerPreferences | com.aspose.barcode.component.barcodescanner.BarcodeScannerPreferences |
Returns: android.content.Intent
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getSynchronousResult(Context arg0, I arg1)
public ActivityResultContract.SynchronousResult<O> getSynchronousResult(Context arg0, I arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | android.content.Context | |
arg1 | I |
Returns:
androidx.activity.result.contract.ActivityResultContract.SynchronousResult
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parseResult(int resultCode, Intent intent)
public BarcodeRecognitionResultsHandlerParcelable parseResult(int resultCode, Intent intent)
Parameters:
Parameter | Type | Description |
---|---|---|
resultCode | int | |
intent | android.content.Intent |
Returns: com.aspose.barcode.component.barcodescanner.BarcodeRecognitionResultsHandlerParcelable
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |