enableWebSdkInteroperability abstract method
Enable interoperability with Web SDK (applicable only in live broadcast scenarios).
Deprecated Deprecated: This method is deprecated. The SDK automatically enables interoperability with the Web SDK, so you do not need to call this method. This method enables or disables interoperability with the Web SDK. If users join the channel via Web SDK, make sure to call this method; otherwise, Web users may see a black screen when viewing the Native side. This method is only applicable in live broadcast scenarios. In communication scenarios, interoperability is enabled by default.
enabledWhether to enable interoperability with the Web SDK: true : Enable interoperability. false : (default) Disable interoperability.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> enableWebSdkInteroperability(bool enabled);