Camera.Parameters.IsVideoSnapshotSupported Property

Definition

Caution

deprecated

Returns true if video snapshot is supported.

[System.Obsolete("deprecated")]
public virtual bool IsVideoSnapshotSupported { [Android.Runtime.Register("isVideoSnapshotSupported", "()Z", "GetIsVideoSnapshotSupportedHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("isVideoSnapshotSupported", "()Z", "GetIsVideoSnapshotSupportedHandler")>]
member this.IsVideoSnapshotSupported : bool

Property Value

true if video snapshot is supported.

Attributes

Remarks

Returns true if video snapshot is supported. That is, applications can call #takePicture(Camera.ShutterCallback, Camera.PictureCallback, Camera.PictureCallback, Camera.PictureCallback) during recording. Applications do not need to call #startPreview() after taking a picture. The preview will be still active. Other than that, taking a picture during recording is identical to taking a picture normally. All settings and methods related to takePicture work identically. Ex: #getPictureSize(), #getSupportedPictureSizes(), #setJpegQuality(int), #setRotation(int), and etc. The picture will have an EXIF header. #FLASH_MODE_AUTO and #FLASH_MODE_ON also still work, but the video will record the flash.

Applications can set shutter callback as null to avoid the shutter sound. It is also recommended to set raw picture and post view callbacks to null to avoid the interrupt of preview display.

Field-of-view of the recorded video may be different from that of the captured pictures. The maximum size of a video snapshot may be smaller than that for regular still captures. If the current picture size is set higher than can be supported by video snapshot, the picture will be captured at the maximum supported size instead.

Java documentation for android.hardware.Camera.Parameters.isVideoSnapshotSupported().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to