cameraFocusAreaChanged property

RectCallback? cameraFocusAreaChanged
getter/setter pair

Occurs when the camera focus area is changed.

The SDK triggers this callback when the local user changes the camera focus position by calling the RtcEngine.setCameraFocusPositionInPreview method.

The RectCallback typedef includes the following parameter:

  • Rect rect: Rectangular area in the camera zoom specifying the focus area.

Implementation

RectCallback? cameraFocusAreaChanged;