unregisterMediaMetadataObserver abstract method
void
unregisterMediaMetadataObserver({
- required MetadataObserver observer,
- required MetadataType type,
Unregisters the media metadata observer.
observerThe metadata observer. See MetadataObserver.typeThe metadata type. Currently, only videoMetadata is supported.
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. < 0: Failure. See Error Codes for details and resolution suggestions.
Implementation
void unregisterMediaMetadataObserver(
{required MetadataObserver observer, required MetadataType type});