PreviewCapabilities


interface PreviewCapabilities


PreviewCapabilities is used to query Preview use case capabilities on the device.

Summary

Public functions

Boolean

Returns if preview stabilization is supported on the device.

Public functions

isStabilizationSupported

Added in 1.4.0
fun isStabilizationSupported(): Boolean

Returns if preview stabilization is supported on the device. Preview stabilization can be turned on via setPreviewStabilizationEnabled.

Returns
Boolean

true if CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION is supported, otherwise false.