다음을 통해 공유


CameraExtensionCharacteristics.IsPostviewAvailable Method

Definition

Checks for postview support of still capture.

[Android.Runtime.Register("isPostviewAvailable", "(I)Z", "", ApiSince=34)]
public bool IsPostviewAvailable (Android.Hardware.Camera2.CameraExtensionTypes extension);
[<Android.Runtime.Register("isPostviewAvailable", "(I)Z", "", ApiSince=34)>]
member this.IsPostviewAvailable : Android.Hardware.Camera2.CameraExtensionTypes -> bool

Parameters

extension
CameraExtensionTypes

the extension type

Returns

true in case postview is supported, false otherwise

Attributes

Remarks

Checks for postview support of still capture.

A postview is a preview version of the still capture that is available before the final image. For example, it can be used as a temporary placeholder for the requested capture while the final image is being processed. The supported sizes for a still capture's postview can be retrieved using CameraExtensionCharacteristics#getPostviewSupportedSizes(int, Size, int). The formats of the still capture and postview should be equivalent upon capture request.

Java documentation for android.hardware.camera2.CameraExtensionCharacteristics.isPostviewAvailable(int).

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