getNativeHandle method
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.
Returns
- The native handle of the SDK, if this method call succeeds.
- Error code, if this method call fails.
Implementation
@override
Future<int?> getNativeHandle() {
return _invokeMethod('getNativeHandle');
}