package io.flutter.plugins.imagepicker;

import io.flutter.plugins.imagepicker.ImagePickerDelegate;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class c implements ImagePickerDelegate.OnPathReadyListener {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f6763a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ ImagePickerDelegate f6764b;

    public /* synthetic */ c(ImagePickerDelegate imagePickerDelegate, int i) {
        this.f6763a = i;
        this.f6764b = imagePickerDelegate;
    }

    @Override // io.flutter.plugins.imagepicker.ImagePickerDelegate.OnPathReadyListener
    public final void onPathReady(String str) {
        switch (this.f6763a) {
            case 0:
                this.f6764b.lambda$handleCaptureImageResult$7(str);
                break;
            default:
                this.f6764b.finishWithSuccess(str);
                break;
        }
    }
}
