getNativeHandle method Null safety

Future<int?> getNativeHandle()

Gets the native handle of the SDK engine.

This interface is used to retrieve the native C++ handle of the SDK engine used in special scenarios, such as registering the audio and video frame observer.


  • The native handle of the SDK, if this method call succeeds.
  • Error code, if this method call fails.


Future<int?> getNativeHandle() {
  return _invokeMethod('getNativeHandle');