Android camera option IsVideoSnapshotSupported incorrectly set to false

When I check the IsVideoSnapshotSupported camera setting, it is set to false, even though my device seems to support this function. This parameter is used to determine whether a photograph can be taken when the device is recording video. My device can do this initially, and I can successfully take a photo while recording in my application if I just ignore the IsVideoSnapshotSupported value.

I don’t like the idea of ​​blindly assuming that the function is supported by all devices using my application, but I can’t determine why the value of this parameter is false. The only device I tested was the Samsung Galaxy S4 with Android version 5.0.1. The application is built using Xamarin. The application is built on API 15.

+3
source share

Source: https://habr.com/ru/post/1270228/


All Articles