Android Question CameraExClass: get current focus mode?

leitor79

Active Member
Licensed User
Longtime 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!
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

leitor79

Active Member
Licensed User
Longtime 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,
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…