Android camera parameter IsVideoSnapshotSupported

2019-07-06 21:54发布

问题:

When I check the device camera parameter IsVideoSnapshotSupported, it is set to false despite my device seemingly supporting this functionality. This setting is used to detect if a photo can be taken while the device is recording a video. My device can natively do this, and I can successfully take a photo while recording within my app if I just ignore the IsVideoSnapshotSupported value.

I don't like the idea of blindly assuming the feature is supported by all devices using my app, but I am not able to determine why the value of this parameter is false. The only device I have tested is a Samsung Galaxy S4 running Android version 5.0.1. The application is being built using Xamarin. The app is built on API 15.