Udostępnij za pośrednictwem


RecommendedStreamConfigurationMap.UsecaseSnapshot 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 snapshot must contain a subset of efficient still capture configurations that must include android.graphics.ImageFormat#JPEG output format and at least one configuration with size approximately equal to the sensor pixel array size CameraCharacteristics#SENSOR_INFO_ACTIVE_ARRAY_SIZE.

[Android.Runtime.Register("USECASE_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 UsecaseSnapshot = 3;
[<Android.Runtime.Register("USECASE_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 UsecaseSnapshot : Android.Hardware.Camera2.Params.UsecaseMode

Field Value

Value = 3
Attributes

Remarks

The recommended stream configuration map for use case snapshot must contain a subset of efficient still capture configurations that must include android.graphics.ImageFormat#JPEG output format and at least one configuration with size approximately equal to the sensor pixel array size CameraCharacteristics#SENSOR_INFO_ACTIVE_ARRAY_SIZE. Even if available for the camera device, high speed or input configurations will be absent.

Java documentation for android.hardware.camera2.params.RecommendedStreamConfigurationMap.USECASE_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