Android Question CameraExClass: get current focus mode?

Discussion in 'Android Questions' started by leitor79, Oct 9, 2019 at 9:47 PM.

  1. leitor79

    leitor79 Active Member Licensed User

    Hi,

    I try to change the focus mode, like the flash mode, but I don't know how to get the current focus mode. I've tried wit camEx.GetParameter ("focus", "FocusMode", "GetFocusMode" with no luck).

    I appreciate any help!
    Thank you!
     
  2. DonManfred

    DonManfred Expert Licensed User

  3. leitor79

    leitor79 Active Member Licensed User

    Hi DonManfred, thank you for your answer.
    I've seen that documentation, and getFocusMode didn't work.

    I've browsed into the object properties in debug mode and I've found "getSupportedFocusModes"; I'm using Return r.RunMethod("getSupportedFocusModes") and it works. I don't know if that could be related to the android version.

    Regards,
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice