setMaxMetadataSize abstract method
Sets the maximum size of the media metadata.
After calling registerMediaMetadataObserver, you can call this method to set the maximum size of the media metadata.
size
The maximum size of media metadata.
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. < 0: Failure.
Implementation
Future<void> setMaxMetadataSize(int size);