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

ConstructorDescription
BarcodeRecognitionContract()

Methods

MethodDescription
createIntent(Context arg0, I arg1)
createIntent(Context context, BarcodeScannerPreferences barcodeScannerPreferences)
equals(Object arg0)
getClass()
getSynchronousResult(Context arg0, I arg1)
hashCode()
notify()
notifyAll()
parseResult(int resultCode, Intent intent)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

BarcodeRecognitionContract()

public BarcodeRecognitionContract()

createIntent(Context arg0, I arg1)

public abstract Intent createIntent(Context arg0, I arg1)

Parameters:

ParameterTypeDescription
arg0android.content.Context
arg1I

Returns: android.content.Intent

createIntent(Context context, BarcodeScannerPreferences barcodeScannerPreferences)

public Intent createIntent(Context context, BarcodeScannerPreferences barcodeScannerPreferences)

Parameters:

ParameterTypeDescription
contextandroid.content.Context
barcodeScannerPreferencescom.aspose.barcode.component.barcodescanner.BarcodeScannerPreferences

Returns: android.content.Intent

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0android.content.Context
arg1I

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:

ParameterTypeDescription
resultCodeint
intentandroid.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int