Skip to content

Using the Front Camera and toggle cameras #120

Closed
@Ljusnan

Description

@Ljusnan

Hi,

I use ZXing.Net with Xamarin on Android and it works pretty good, thank you!

Currently I want to enable users to use the Front Camera and I tried this:

var result = await scanner.Scan(new MobileBarcodeScanningOptions(){UseFrontCameraIfAvailable=true});

But unfortunately this does not work on my test device (Samsung Galaxy S2). I still cannot use the front camera. How to invoke this correctly?

My second question is: Will there be an option to toggle Front and Back Camera? Like I can do now with the flashlight scanner.ToggleTorch()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions