cameraFocusAreaChanged property Null safety

RectCallback? cameraFocusAreaChanged
read / write

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.


RectCallback? cameraFocusAreaChanged;