uwp camera FocusControl not supported

형철 박 1 Reputation point
2022-06-14T07:01:58.407+00:00

uwp camera FocusControl is not supported. Please tell me how to change focus mode.

------------------------------------------------------------------------------------------------

        var focusControl = mediaCapture.VideoDeviceController.FocusControl;  

        if (focusControl.Supported)  
        {  
            messagetext.Text = "ok";  
        }  
        else  
        {  
            messagetext.Text = "not";  
        }  

-------------------------------------------------------------------------------------------------

The code above shows that it is not supported.
Are there any other APIs besides focusControl?
The current platform is Windows 11 and the development language is C#.
Please give me some good examples.
https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/CameraManualControls ->I tested the example here, but my USB camera was not supported.
Camera focus control is easy in opencvsharp. How do I do this in uwp?

Universal Windows Platform (UWP)
{count} votes