onVideoViewReady property

void Function()? onVideoViewReady
final

Callback triggered when the video view is ready (XComponent loaded). On HarmonyOS, this is called when the native NERtcVideoView's onLoad fires. You should call setupLocalView/setupRemoteView after this callback.

Implementation

final VoidCallback? onVideoViewReady;