PreviewCapabilities


public interface PreviewCapabilities


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

Summary

Public methods

abstract boolean

Returns if preview stabilization is supported on the device.

Public methods

isStabilizationSupported

Added in 1.4.0
abstract boolean isStabilizationSupported()

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.