RecommendedStreamConfigurationMap.UsecaseVideoSnapshot Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.UsecaseMode enum directly instead of this field.

The recommended stream configuration map for use case video snapshot must only contain a subset of efficient liveshot configurations that include android.graphics.ImageFormat#JPEG output format.

[Android.Runtime.Register("USECASE_VIDEO_SNAPSHOT", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.UsecaseMode enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.Params.UsecaseMode UsecaseVideoSnapshot = 2;
[<Android.Runtime.Register("USECASE_VIDEO_SNAPSHOT", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.Params.UsecaseMode enum directly instead of this field.", true)>]
val mutable UsecaseVideoSnapshot : Android.Hardware.Camera2.Params.UsecaseMode

Field Value

Value = 2
Attributes

Remarks

The recommended stream configuration map for use case video snapshot must only contain a subset of efficient liveshot configurations that include android.graphics.ImageFormat#JPEG output format. The sizes will match at least the maximum resolution of usecase record and will not cause any preview glitches. Even if available for the camera device, high speed or input configurations will be absent.

Java documentation for android.hardware.camera2.params.RecommendedStreamConfigurationMap.USECASE_VIDEO_SNAPSHOT.

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