Rabbit-R1/switch port/java/sources/com/journeyapps/barcodescanner/ScanContract.java
2024-05-21 17:08:36 -04:00

19 lines
774 B
Java

package com.journeyapps.barcodescanner;
import android.content.Context;
import android.content.Intent;
import androidx.activity.result.contract.ActivityResultContract;
/* loaded from: classes3.dex */
public class ScanContract extends ActivityResultContract<ScanOptions, ScanIntentResult> {
@Override // androidx.activity.result.contract.ActivityResultContract
public Intent createIntent(Context context, ScanOptions scanOptions) {
return scanOptions.createScanIntent(context);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // androidx.activity.result.contract.ActivityResultContract
public ScanIntentResult parseResult(int i, Intent intent) {
return ScanIntentResult.parseActivityResult(i, intent);
}
}