Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

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.