setExtensionProperty abstract method
Future<void>
setExtensionProperty({
- required String provider,
- required String extension,
- required String key,
- required String value,
- MediaSourceType type = MediaSourceType.unknownMediaSource,
Sets the properties of the extension.
After enabling the extension, you can call this method to set the properties of the extension.
provider
The name of the extension provider.extension
The name of the extension.key
The key of the extension.value
The value of the extension key.type
Source type of the extension. See MediaSourceType.
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.
Implementation
Future<void> setExtensionProperty(
{required String provider,
required String extension,
required String key,
required String value,
MediaSourceType type = MediaSourceType.unknownMediaSource});