Skip to content

Cannot setup cameraflash for this example #1

Description

@vtserej

on TakePhoto I call this function with the requestBuilder

public void SetAutoFlash(CaptureRequest.Builder requestBuilder) { if (_flashSupported) { requestBuilder.Set(CaptureRequest.ControlAeMode, (int)ControlAEMode.OnAutoFlash); } }
i also make sure that flash is supported on the OpenCamera function

// Check if the flash is supported. var available = (Java.Lang.Boolean)characteristics.Get(CameraCharacteristics.FlashInfoAvailable); _flashSupported = (available == null) ? false : true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions