PreviewCapabilities


@RequiresApi(value = 21)
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-alpha05
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.