Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

FocusMeteringResult

class FocusMeteringResult
kotlin.Any
   ↳ androidx.camera.core.FocusMeteringResult

Result of the CameraControl#startFocusAndMetering(FocusMeteringAction).

Summary

Public methods
Boolean

Returns if auto focus is successful.

Public methods

isFocusSuccessful

fun isFocusSuccessful(): Boolean

Returns if auto focus is successful.

If AF is requested in FocusMeteringAction but current camera does not support AF, it will return true. If AF is not requested, it will return false.