TapToFocusInfo
class TapToFocusInfo
Describes the focus state and tap location that CameraController uses for tap-to-focus feature corresponding to the PreviewView touch events.
Summary
Public constructors |
|---|
TapToFocusInfo(focusState: Int, tapPoint: PointF?) |
Public properties |
|
|---|---|
Int |
The focus state of the camera. |
PointF? |
The |
Public constructors
Public properties
tapPoint
val tapPoint: PointF?
The PreviewView co-ordinates of user's touch event corresponding to this focusing event. This can be null when a focusing event is not due to the user's touch event. For example, FocusOnTap(TAP_TO_FOCUS_NOT_STARTED, null) is used when there is no focusing event ongoing e.g. during initialization or after a focus event has been completed.